4
Answers

Retain data in a gridview on Page Reload

Debopriyo Dey

Debopriyo Dey

7y
288
1
I have a gridview and its populated from a datatable. I have used Viewstate to hold the data. 
 
Now if I redirect to a new page from this page and again come back to this page, all my datas are lost and the gridview, datatable, viewstate is showing empty.
 
How can I retain the previous table inspite of page reload? 

Answers (4)