views:

39

answers:

0

I have a DataGridView corresponding to a table which has an identity column and the primary key is also set to this column and a button (a SQL database). I've added the dataset of database to project.

There is a empty table (DataGridView) in front of user and he/she can edit (update) this DataGridView; for example edit just one cell and click save, or add a new row, or after adding a new row, he can remove it... and every thing possible to do with a DataGridView.

How can I do this? With a CommandBuilder? Or something else?

I've tried everything but no result...