Hi,
How can we pass value from one page to another page without redirecting the page in asp.net.
Thanks.
Loading
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.
Suthish NairPosted Oct 5, 2011, 1:28 PM
Prabhu RajaPosted Oct 5, 2011, 12:32 AM
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