when page1.aspx from value fill and click on button value copy another page without redirect?
ho do this
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.
avinash palPosted Jan 27, 2020, 5:32 PM
Amit MohantyPosted Jan 27, 2020, 10:07 AM
Response.Redirect
Cookies
Application Variables
Session Variables
Response.Redirect
SET : Response.Redirect("Defaultaspx?Name=Amit");
GET : string Name = Request.QueryString["Name"];
Cookies
SET : HttpCookie cookName = new HttpCookie("Name");
cookName.Value = "Amit";
GET : string name = Request.Cookies["Name"].Value;
Application Variables
SET : Application["Name"] = "Amit";
GET : string Name = Application["Name"].ToString();
Session Variables
SET : Session["Name"] = "Amit";
GET : string Name = Session["Name"].ToString();
Gowtham RamarPosted Jan 27, 2020, 9:25 AM