Querystring
Hello,
I would like to pass 2 value through querystring pls help me
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ArshadRank #2,492 · 564 reputationPosted Sep 5, 2008, 1:53 AM EDT
variables strId and strMode.
string strID;
string strMode;
Response.Redirect("Home.aspx?Id="+ strId +"&Mode="+ strMode +");
This is just an Example, like that you can pass the value from the QueryString and for retreiving this value in the Home.aspx, use the Request.QueryString("Id") and Request.QueryString("Mode"), like that, Thats all
Thanks
Blocked AccountRank #403 · 6.2K reputationPosted Sep 5, 2008, 2:09 AM EDT
Hi Ashok,
U can pass two values through query string like that.
/Forums/ShowMessages.aspx?ThreadID=47043&PostId=12