阅读背景:

将XML绑定到可编辑的DataGridView,允许加载和保存

来源:互联网 

I have a settings dialog with a DataGridView, and an OK/Cancel button. When the dialog is opened, it is supplied an XML file that may or may not exist, and display the contents. Regardless of whether or not the file exists, the user must be able to modify the data in each cell in the DataGridView, along with being able to add or remove rows. When the OK button is clicked, the contents of the DataGridView must be exported to the XML file that was initially supplied.I have a settings dialog with a DataGridView, a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: