XmlTextReader D1 = new XmlTextReader(Server.MapPath("xml_file.xml"));
DataSet ds = new DataSet();
ds.ReadXml(D1);
D1.Close();
GridView1.DataSource= ds.Tables[0];
GridView1.DataBind();
Comments
Post a Comment