I have loaded the contents of an XML file into a dataset, and then into a datagrid.
But I am stuck with this (probably simple thing),
How do you read data from a specific field / column, or find out how many records / rows exist, in preferably the dataset. But if not possible, in the datagrid.
Thanks in advance for any help you can offer.
Code:Dim d As New DataSet() Try d.ReadXml("C:\test.xml") Me.DataGrid1.DataSource = d Catch exp As Exception MessageBox.Show(exp.Message.ToString, "Exception was caught", MessageBoxButtons.OK) End Try ds = d.Copy DataGrid1.DataSource = ds DataGrid1.Refresh() d.Dispose()





Reply With Quote