Alex Rivera | Logout

How to pass multiple parameters in a querystring

Asked 2009-04-07T07:46:24.117
123

I have three values which I have to pass as parameters for e.g., strID, strName and strDate.

I want to redirect these three parameters to another page in Response.Redirect().Can anybody provide me with the correct querystring?

Edit
Report

2 Answers

39
Query String: ?strID=XXXX&strName=yyyy&strDate=zzzzz

before you redirect:

string queryString = Request.QueryString.ToString();

Response.Redirect("page.aspx?"+queryString);
answered 2009-04-07T07:50:13.437
10
~mypage.aspx?strID=x&strName=y&strDate=z
answered 2009-04-07T07:48:57.387

Your Answer