Try using a Dataset rather
DataSet ds = new DataSet();
ds.ReadXml(@"d:\test.xml");
MessageBox.Show(ds.Tables[0].Rows[0]["ID"].ToString());
Found at
DataTable.ReadXml(filename) throws an error. Why?
Try using a Dataset rather
DataSet ds = new DataSet();
ds.ReadXml(@"d:\test.xml");
MessageBox.Show(ds.Tables[0].Rows[0]["ID"].ToString());
Found at
DataTable.ReadXml(filename) throws an error. Why?