Posted on: 11/21/2012 12:47:22 AM | Views : 355

Coding of First Page is:

    protected void Button1_Click(object sender, EventArgs e)
    {
        Response.Redirect("../AddCart.aspx?rate=" + this.Label1.Text + "&qty=" + this.DropDownList1.SelectedValue);
    }
-----------------------------------------------------------------------------------------------
Coding of Second Page is: (Error here in this page)

protected void Page_Load(object sender, EventArgs e)
    {

        this.Label1.Text = Request.QueryString["rate"];
        this.Label2.Text = Request.QueryString["qty"];

        int rat = Convert.ToInt32(Label1.Text);
        int qt = Convert.ToInt32(Label2.Text);
     ...

Go to the complete details ...