datagrid

I have a datagrid. i want that the datagrid can edit its rows, but can not allow to add new record.

1 Reply

RE Revlis August 26, 2004 04:07 AM UTC

maybe you can try this: DataView dv = ((DataTable)datagrid.DataSource).DefaultView; dv.AllowNew = false; dv.AllowDelete = false; >I have a datagrid. i want that the datagrid can edit its rows, but can not allow to add new record. >

Loader.
Up arrow icon