Hi, I have created a datagridview and created a dataset by using the wizard of the datagridview. The datagridview displays the information fine and when running the application I can add new records in the datagrid view. The question is when I leave the form how do I get my dataset of the datagridview to update the database.
this is the code to load the data to the datagridview
this
.serverListTableAdapter.Fill(this.serverListDataSet.ServerList);
I have a button on this form called update, what is the code to update all the changes. I know i need a datarow for the dataadaptor Update command but unsure how to get this.
Cheers

How to update a dataset from a datagridview
KarthikNarasimhan
This line of code seems to work
serverListTableAdapter.Update(this.serverListDataSet.ServerList);