using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class Default2 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void btnsubmit_Click(object sender, EventArgs e) { if (IsPostBack) { Response.Write("you have sucessfully registred...!!!"); } } protected void btnsubmit_Click1(object sender, EventArgs e) { Session["DEMO_SESSION"] = txtname.Text; Response.Redirect("default3.aspx"); }
protected void Page_Load(object sender, EventArgs e) { TextBox1.Text = Session["DEMO_SESSION"].ToString(); }
if (TextBox1.Text!= "") { Session["DEMO_SESSION"] = TextBox1.Text; Session.Timeout = 1; Response.Redirect("Default2.aspx"); } else { Session["DEMO_SESSION"] = ""; } } }
Session["DEMO_SESSION1"] = txtname.Text; Session["DEMO_SESSION2"] = txtadd.Text; Session["DEMO_SESSION3"] = txtphone.Text;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)