954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Query strings-passing 2 variables

Hey all,
I have 2 .aspx pages..I am trying to pass query strings from one page to another..I am trying to pass 2 variables to the 2nd .aspx page..Is the code below correct? If it's not, can I have the correct code?? It's in C#.

Page.Response.Redirect("second.aspx?year="+years+"&role="+ counts);

'years' and 'counts' are the 2 variables that I am trying to pass...

Thanks
Ani

anitha joe
Light Poster
25 posts since May 2008
Reputation Points: 4
Solved Threads: 0
 

looks perfect.. are there any issues wit it?

whatanidea
Light Poster
26 posts since Aug 2008
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You