a datagrid has a datatable associated with it. populate the datatable to 'input' data to the datagrid.
to update values to a database, the simplest way is to declare a dataadapter that fills a datatable in a dataset and then is declared as a datasource for the datagrid. when you need to update to the database, simply use Update on the dataadapter.
--------------------------
"two wrongs don't make a right, but three lefts do" - the unknown sage
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.