I use a datatable as source for the datagridview. How do I save changes 开发者_开发百科made in the datagridview back to the database?
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
精彩评论