开发者

How do I update changes in a datagridview back to the database?

开发者 https://www.devze.com 2023-02-06 10:04 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消