Please see this article
http://www.dotnetheaven.com/uploadfile/prathore/datagridview09122007013411am/datagridview.aspx[
^]
in which it is shown how to display the data in a
DataGridView
from an
XML
file.
Now, after making the modifications to the data and / or adding new data in the
DataGridView
, the following code can be used to write the data back to the XML file on disk for the file name referred to in the above article
xmlDatadoc.DataSet.WriteXml(Application.StartupPath + "\\books.xml");