| | |
Query strings-passing 2 variables
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2008
Posts: 25
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- Parse XML from ASP!!! (ASP)
Other Threads in the ASP.NET Forum
- Previous Thread: Is Crystal Reprots Better
- Next Thread: Problem After Opening File from Website
| Thread Tools | Search this Thread |
.net 2.0 3.5 activexcontrol advice ajax asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer button c# c#gridviewcolumn cac checkbox child class click commonfunctions compatible confirmationcodegeneration content contenttype control countryselector courier css database datagrid datagridview datagridviewcheckbox datalist deadlock deployment development dgv dialog dropdownmenu dynamic edit embeddingactivexcontrol expose feedback findcontrol flash flv formatdecimal forms formview gridview homeedition iframe iis javascript jquery list menu mono mssql multistepregistration nameisnotdeclared novell objects order problem ratings rotatepage save search security serializesmo.table silverlight smartcard sql sqlserver2005 ssl suse textbox tracking treeview typeof unauthorized validation vb.net video virtualdirectory vista visual-studio visualstudio vs2008 web webarchitecture webdevelopemnt webdevelopment wizard xml youareanotmemberofthedebuggerusers





