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 .
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Shivanand ArurRank #920 · 2.3K reputationPosted Nov 9, 2012, 12:57 AM EST
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.