Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00608684
Message ID:
00608686
Vues:
16
If you don't mind that the user can see the parameter, just send in the url:
<a href="test2.asp?param1=val1&param2=val2">Print Preview</a>
Then access it in asp with:

param1 = request.QueryString("param1").Item ' val1
param2 = request.QueryString("param2").Item ' val2


HTH
-Dave


>Hi All:
> How do pass a parameter to a web page. I am tring to pass a value to one of my asp web pabe and I am not sure how to do accomplish this.
>This is my code:
>
<tr><td align="center" width="100"><a href=test2.asp>"Print Preview</a></td>
>In test2.asp Iwant to pass a value, for example 1. In test2.asp I want to get the value and query the record set. However, I am not sure how to pass a parameter to a web page and then get that value in that web page.
>Thanks
>MA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform