We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 25, 2004 11:07 PM

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.
Live Chat Icon For mobile
Up arrow icon