Here Mudassar Ahmed Khan has explained with an example, how to read, parse and import XML file in Windows Forms DataGridView using C# and VB.Net.
The XML file will be read and parsed using a DataSet and all the records from the XML file will be imported into a DataTable within the DataSet.
Finally the DataSet will be used to populate and display the data from XML file in Windows Forms DataGridView.
↧