Reputation: 5971
I use a datatable as source for the datagridview. How do I save changes made in the datagridview back to the database?
Upvotes: 0
Views: 3424
Reputation: 2283
I think you have to call the Update method of the adapter when you want to save the changes.
http://msdn.microsoft.com/en-us/library/system.data.common.dataadapter.update%28v=VS.100%29.aspx
Upvotes: 2