private void button1_Click(object sender, EventArgs e) { XmlTextReader tr = new XmlTextReader("E:\\Sales_Details.xml"); DataSet ds = new DataSet(); ds.ReadXml(tr); dataGridView1.DataSource = ds.Tables[0].DefaultView; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)