Access View State value from one page to anthor page in ASP.NET
How to access view state value from one aspx page to another page .
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shivanand ArurPosted Nov 9, 2012, 5:57 AM
If you still want the value in multiple pages, try using a session. It will be available until the User Closes the Browser or logs out of the application.
example -
Session[Name] = "Sharad Gupta"; // For setting the value
string myName = Convert.ToString(Session[Name]); // For getting the value.
Check this article for more help.
http://www.c-sharpcorner.com/UploadFile/78d182/Asp-Net-state-management-techniques/
Please mark this answer as accepted, if it helped!!!
Thank you.