how to read xml data ino datatable
how to read xml data into datatable
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Jan 5, 2012, 12:26 AM
DataSet reportData = new DataSet();
reportData.ReadXml(Server.MapPath("test.xml"));
GridView1.DataSource = reportData;
GridView1.DataBind();
Refer
http://www.java2s.com/Code/CSharp/XML/LoadXMLfiletoDataTablethenaddDataTabletoListView.htm
Thanks