Interviews5 answers
How you can pass two values using Query String to other page?
5 Answers
by using ? and & operators we can pass two values.
Sunil BabuPosted Apr 2, 2016, 3:00 AM EDT
Response.Redirect("~/Report/UserAnswerReport.aspx?EID=" + lblExamNm.Text + "&PostNm=" + lblPostNm.Text + "");
Pankaj Kumar ChoudharyPosted Aug 31, 2015, 4:32 PM EDT
Response.Redirect("quicksearch.aspx?lookfor=" + drop_l.SelectedValue + "&agefrom=" + txtagefrom.Text + "");
imran azamPosted Dec 29, 2014, 7:41 AM EST
The keyword '&' is used to differentiate/pass multiple parameters..
Eg: Response.Redirect("RequiredPage.aspx?"+"Name="+txtName.text+"&Age="+txtAge.text);
Vidhya SagarPosted Dec 20, 2012, 5:33 PM EST
Response.Redirect("~/Report/UserAnswerReport.aspx?EID=" + lblExamNm.Text + "&PostNm=" + lblPostNm.Text + "");
Manoj KumarPosted Nov 28, 2012, 8:42 PM EST

