Re: Excel-like appearance in the datagrid by W
W
Mon Dec 06 16:06:15 CST 2004
If you have the rows there, you can just select the respective empty row
instead of AddNew. IF you use AddNew, you may end up with blank rows that
will be included in your Updates which you probably don't want.
--
W.G. Ryan, MVP
www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Earl" <brikshoe@newsgroups.nospam> wrote in message
news:ubge$bx2EHA.1564@TK2MSFTNGP09.phx.gbl...
> I'd like to give my users the same "empty grid" look of an Excel sheet (at
> least an empty row to start with). I've thought to mimic this appearance
by
> setting up an empty datatable bound to the grid (columns will be
predefined)
> and then using AddNew to add the first empty row to the table. Is that the
> usual approach or can anyone recommend something better?
>
>