namespace StateManagement

{

    public partial class QueryStringExampleResults : System.Web.UI.Page

    {

        protected void Page_Load(object sender, EventArgs e)

        {

            // Retrieve values put into the URL of the previous page using the Request.QueryString collection

            lblDisplay.Text = "Thanks for submitting the survey. Here is the information you provided: <br />" +

                              "School: " + Request.QueryString["school"] + "<br />" +

                              "Major: " + Request.QueryString["major"];

        }

    }

}