Saving Contents of DataGridView to XML

asn1981

Active member
Joined
Mar 15, 2005
Messages
38
Programming Experience
Beginner
I have an xml file from which i create a dataset that then get bound to a datagridview on a windows form.

The user is able to edit the data in the various columns.

All I wish to do is then "read" the contents of the datagridview on the form and write it to another xml file.

However, I have no idea how I can "read" the datagridview (possibly as a dataset)... anybody have any suggestions
 
VB.NET:
DataSet1.WriteXml(xmlfilename)
 
Back
Top