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

Member Avatar for whatanidea

looks perfect.. are there any issues wit it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.