Disallowing new table rows in a dataset

  • Thread starter Thread starter Cat
  • Start date Start date
C

Cat

I have a DataTable in a DataSet which is bound to a DataGrid. I want users
to be able to edit the data rows that appear in the grid on startup but
unable to add new rows. Any ideas?

Cat
 
Hi,
I have a DataTable in a DataSet which is bound to a DataGrid. I want users
to be able to edit the data rows that appear in the grid on startup but
unable to add new rows. Any ideas?

Cat

Bind your data through DataView... and turn off: AllowDelete & AllowNew

Cheers

Marcin
 
Back
Top