Response.Redirect("url");
Page1.aspx { public Page1() { //Default Constructor. } public Page1(int Id) { //Parameterized Constructor. } } Pag2.aspx { protected void Button_Click(object sender, EventArgs e) { Response.Redirect("Page1.aspx"); } }
Session.Add("BatchID", Batchid); Response.Redirect("sample.aspx?Batch_id=" + Session["BatchID"].ToString() + "",false);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)