protected void btnPreview_Click(object sender, EventArgs e) { ArrayList array = new ArrayList(); array.Add(txtAD.Text); array.Add(txtASO.Text); array.Add(txtController.Text); array.Add(txtGPS.Text); array.Add(txtTAP.Text); Session["ArrayList"] = array; ViewState["ArrayList"] = array; Response.Redirect("~/Preview.aspx");
<input type="button" value="Back to Previous Page" onClick="javascript: history.go(-1)">
Edit
On Click Of btnPreview session["Name"]=Convert.tostring(txt.text); Redirect to nextPage //do your work Redirect to previous Page //in the Page Load Check if(session["Name"]!=null) TextBox1.text = Session["Name"]; //clear that Session Session["Name"]=null; Session.clear();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)