Inserting Data to a read only Data Grid

Athulas

New member
Joined
Jun 21, 2004
Messages
1
Programming Experience
1-3
hi people,

i wonder whether anyone could help me out here. okey the problem is that i have a read only DataGrid. since the Grid is read only users will not be able to alter any existing values but at the same time they should be able to insert new values/records to the grid.

Is this possible ?? if so please be kind enough to help me.

thanking you in advance,
Athulas.
 

tlkerns

Member
Joined
Jun 3, 2004
Messages
19
Programming Experience
3-5
If you are binding to a DataSet/DataTable, create a DataView for the table. On the DataView, set the AllowNew property to True and the AllowEdit property to False.

Tony
 
Top Bottom