Reputation: 546
There are two pages page1.aspx and page2.aspx page1 contains two tables. after submitting page1 it redirects to page2. now when i'm trying to come back to page1 all data are gone. Is there a way to retrieve those data when coming back from page2?
Upvotes: 1
Views: 148
Reputation: 2354
A couple of links explain the behavior and how to use it.
ASP.NET Web Forms has a few state management options.
Upvotes: 0
Reputation: 94645
You may use Session
dictionary to store data. If you are willing to change your page design then use MultiView
and View
asp.net control, in that no need to create two pages.
Upvotes: 1