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?

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?
>
>



Re: Excel-like appearance in the datagrid by Earl

Earl
Tue Dec 07 10:23:00 CST 2004

Thanks Bill. Am I to infer that you would go with this type of scheme to
implement Excel-appearance or do you have a component vendor to recommend?

"W.G. Ryan eMVP" <WilliamRyan@gmail.com> wrote in message
news:Oh9xP$92EHA.3908@TK2MSFTNGP12.phx.gbl...
> 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?
>>
>>
>
>