using System.Xml;
using System.Data.SqlClient;
protected void Page_Load(object sender, EventArgs e)
{
DataSet ds = new DataSet();
ds.ReadXml(MapPath("XMLFile.xml"));
GridView1.DataSource = ds;
GridView1.DataBind();
}
1 comment:
This code s very useful
Post a Comment