Is it possible to do add records via a datagrid? For
example, an application opens a datagrid with its source
a datatable with 2 records. Can one add a third record
to the source datatable via the datagrid? If so, how
please? Thank you.
JT

Re: Data Entry via DataGrid by Dmitriy

Dmitriy
Mon Sep 08 07:57:41 CDT 2003

DataGrid allows adding new records by default provided that the DataGrid is
bound to something that implements the IBindingList interface (this inludes
DataView which, in turn, enables this functionality for DataTable). You
don't need to create a DataView manually - the DataGrid will create one
behind the scenes when you bind it to a DataTable.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"JT" <westfield.eye@verizon.net> wrote in message
news:458701c37607$2c9f6c80$a401280a@phx.gbl...
> Is it possible to do add records via a datagrid? For
> example, an application opens a datagrid with its source
> a datatable with 2 records. Can one add a third record
> to the source datatable via the datagrid? If so, how
> please? Thank you.
> JT