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
close icon

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