Query strings-passing 2 variables

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2008
Posts: 25
Reputation: anitha joe has a little shameless behaviour in the past 
Solved Threads: 0
anitha joe anitha joe is offline Offline
Light Poster

Query strings-passing 2 variables

 
0
  #1
Aug 25th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 26
Reputation: whatanidea is an unknown quantity at this point 
Solved Threads: 1
whatanidea whatanidea is offline Offline
Light Poster

Re: Query strings-passing 2 variables

 
0
  #2
Aug 28th, 2008
looks perfect.. are there any issues wit it?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC