Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple parms in hyperlink URL field
Message
Information générale
Forum:
ASP.NET
Catégorie:
WebForms
Titre:
Multiple parms in hyperlink URL field
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01001278
Message ID:
01001278
Vues:
66
I'm learning this .Net stuff and have a question... First what I've found.

In the book sample, I have a grid control, no problem... added hyperlink column, no problem... set the "URL" to a field in the given DataView and the "URL FIELD" to something like "MyNextWebPage.aspx?ParamFld={0}" .. .ok no problem.

Doing the book example, for each record in the grid, the "{0}" corresponds to the "URL" field from the DataView and will build... so the results would be

MyNextWebPage.aspx?ParmaFld=SomeVal1
MyNextWebPage.aspx?ParmaFld=SomeVal2
MyNextWebPage.aspx?ParmaFld=SomeVal3, etc

What I want to do is include MULTIPLE parameters in the URL Field... how would this work...

URL = "Fld1, SessionFieldValue" (1 field from valid columns in the DataView, the other from a session variable?)

and the URL Field = "MyPage.aspx?Parm1={0}&Parm2={1}&Parm3={2}

I COULD obviously rebuild the SQL to build a single column to handle the concatinated parameters as one field including all anticipated values...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform