querystring
Hello,
I would like to pass 2 value through querystring pls help me
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Blocked AccountPosted Sep 5, 2008, 6:09 AM
Hi Ashok,
U can pass two values through query string like that.
/Forums/ShowMessages.aspx?ThreadID=47043&PostId=12
ArshadPosted Sep 5, 2008, 5:53 AM
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