1.

How to bind GridView with xml file

Answer»

Below code will BIND xml FILE with the GridView:-
DIM D_Set As New System.Data.DataSet
D_Set.ReadXml(Server.MapPath("XMLFileName.xml"))
GridView1.DataSource = D_Set.Tables(0)
GridView1.DataBind()



Discussion

No Comment Found