Disallowing new table rows in a dataset

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
 
?

=?ISO-8859-2?Q?Marcin_Grz=EAbski?=

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top