开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜