|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Passing parameters through URL
Hi everyone:
I need some help how to pass two parameters from two TextBoxes (ASP page) into two TextBoxes (ASP.NET) through URL. Never done that and any leads or code snippet would be greatly appreciated. ASP and ASP.NET are in the same wwwroot directory. TIA Sam |
|
#2
|
|||
|
|||
|
In your postback function, add the following code:
Response.Redirect("your_url.aspx?your_url_variable=" + @variable_from_form); Hope this is what you're looking for! ![]() |
|
#3
|
||||
|
||||
|
Admitadly i know very little about ASP.NET yet so please correct me if i'm wrong
. But would pointing a form at a given page using the GET method or even just having a link which contains values not do this.Obviously i'm missing something. What is the difference between ASP and ASP.NET if you cant just mix the two techs. Have fun guys, Mark. |
|
#4
|
|||
|
|||
|
Quote:
++++++++++++++++++++++++++++ Thanks you lewy2000. I'll try that. Bear with me I'm new to that. Sam |
|
#5
|
|||
|
|||
|
How do I type if I want to sand more than 1 parameter?
can I type somethig like Server.Transfer("productinfo.aspx?Val1="+parameter1+"&Val2="+Parameter2+"..... ") ? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > .Net Development > Passing parameters through URL |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|