Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple parms in hyperlink URL field
Message
General information
Forum:
ASP.NET
Category:
WebForms
Title:
Multiple parms in hyperlink URL field
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01001278
Message ID:
01001278
Views:
69
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...
Next
Reply
Map
View

Click here to load this message in the networking platform