.aspx page
.aspx.cs page
Write the below code in !ispostBack
DataSet ds = new DataSet();
ds.ReadXml(Server.MapPath("myProduct.xml"));
repProductDetails.DataSource = ds;
repProductDetails.DataBind();
Title | Country | Company | Price | Year |
---|---|---|---|---|
<%#Eval("title")%> | <%#Eval("country")%> | <%#Eval("company")%> | <%#Eval("price")%> | <%#Eval("year")%> |
Comments