Hi,
How can we pass value from one page to another page without redirecting the page in asp.net.
Thanks.
How can we pass vlaue from one page to another page
2 Answers
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 attend4days leftRegister
Prabhu RajaRank #861 · 2.6K reputationPosted Oct 4, 2011, 8:32 PM EDT
Page1
Session.Add("text", Your value for this session ); // Here "text" is an Session name
Page2
textBox2.Text = Convert.ToString(Session["text"]); // get Value by using session name
Thank You
Suthish NairRank #92 · 22.8K reputationPosted Oct 5, 2011, 9:28 AM EDT