Information générale
Titre:
Multiple parms in hyperlink URL field
Versions des environnements
Network:
Windows 2003 Server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement