Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

Passing variables to another page using Application Variables in C#

  1. Application["Name"] = txtName.Text;
  2. Response.Redirect("WebFormNext.aspx");

  1. // Retrieve the value of the Application Variable
  2.  
  3. if( Application["Name"] != null )
  4. Label1.Text = Application["Name"].ToString();