Friday, July 24, 2009

State Management using Querystring

//send data as querystring Response.Redirect("http://localhost:3521/Basic/StateManagement/Stateinfo.aspx?name=sysmphony-services&lang=en-US");
//Querystring information
Label1.Text = "Query string output:Name: " + Server.HtmlEncode(Request.QueryString["name"]) +
", Lang: " + Server.HtmlEncode(Request.QueryString["lang"]);

No comments:

Post a Comment