5
Reply

How you can pass two values using Query String to other page?

Nishant Arora

Nishant Arora

Nov 26, 2012
27.2k
2

    by using ? and & operators we can pass two values.

    Sunil Babu
    April 02, 2016
    0

    Response.Redirect("~/Report/UserAnswerReport.aspx?EID=" + lblExamNm.Text + "&PostNm=" + lblPostNm.Text + "");

    Pankaj Kumar Choudhary
    August 31, 2015
    0

    Response.Redirect("quicksearch.aspx?lookfor=" + drop_l.SelectedValue + "&agefrom=" + txtagefrom.Text + "");

    imran azam
    December 29, 2014
    0

    The keyword '&' is used to differentiate/pass multiple parameters.. Eg: Response.Redirect("RequiredPage.aspx?"+"Name="+txtName.text+"&Age="+txtAge.text);

    Vidhya Sagar
    December 20, 2012
    0

    Response.Redirect("~/Report/UserAnswerReport.aspx?EID=" + lblExamNm.Text + "&PostNm=" + lblPostNm.Text + "");

    Manoj Kumar
    November 29, 2012
    0