How to Open and read an XML file to Dataset
XML is a platform independent language, so the information formatted in XML can be use in any other platforms (Operating Systems) . The .Net technology is widely supported XML file format. The .Net Framework provides the Classes for read, write, and other operations in XML formatted files .
In the previous section we already saw how to read an XML file through Node navigation . Here we are going to read an XML file using a DataSet. Here Dataset is using an XmlReader for read the content of the file. Locate the XML file using XmlReader and pass the XmlReader as argument of Dataset.
Click here to download the input file product.xml : product.xml