protected void btnLogin_Click(object sender, EventArgs e) { string pusername = NameTextBox.Text; Response.Redirect("~/OrderForm.aspx?username=" + pusername); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string username = Request.QueryString["pusername"]; lblWelcome.Text += "Welcome," + username ; } }
string username = Request.QueryString["pusername"];
string username = Request.QueryString["username"];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)