Stop Datagrid allowing new Rows
Posted on 2004-08-20
I have a datgrid with a table as the datasource.
I would like to prevent the datagrid from having new rows added to it but still require the user to be able to edit the contents. (stop the star row at the bottom)
I changed the datagrid to readonly however this stops editing completely even if i change the column style property to false
.GridColumnStyles(6).ReadOnly = False
.GridColumnStyles(7).ReadOnly = False