//Page1.aspx stores value in context before transferring Context.Items("UserName") = txtName.Text; Server.Transfer("Page2.aspx"); //Page2.aspx retrieves the value from Page1’s context string sName; sName = Context.Items("UserName").ToString; Response.Write("Your name is " + sName);
Related posts:
0 comments:
Post a Comment
Your comments: