Here I draw the table data binding using this code :-
Dim ds As DataSet = New DataSet()
ds.ReadXml(mypath)
VisaDG.DataSource = ds
VisaDG.DataBind()
How to clear the VisaDG table after display it?..Anyone can help me?
If you want to clear the gridview. The you can do this:
VisaDG.DataSource = nothing
VisaDG.DataBind()
EDIT
Have you tried this?
VisaDG.DataSource=New DataSet()
VisaDG.DataBind()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.