tags:

views:

72

answers:

2

hi

i have DataGridView that fill with DataSet.

how i can change any cell in DataGridView - and this change

will change the DataSet too (and the Database).

can i get any sample program for this (C#) ?

thank's in advance

A: 

If you want a program to change the contents of the DataGridView, just change the underlying Dataset. The DataSet has methods to commit those changes to the Database as well.

User1
+1  A: 

Here is an article with clear explanations, screenshots, and code that demonstrates how to use the DataGridView. The data binding sections should be of particular interest.

Andy West