Sunday, 3 July 2011

How to get Xml file info to DataSet and bind the GridView



Dim ds as new Dataset()
ds.readxml(@your xml file path) 
GridView1.datasource=ds
GridView1.databind()

Example:


Dim ds as new Dataset()
ds.readxml("c:\bab.xml")
GridView1.datasource=ds
GridView1.databind()

No comments:

Post a Comment