Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Hyperlink in a DataGrid
Message
 
To
15/05/2004 11:10:48
Keith Payne
Technical Marketing Solutions
Florida, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00904258
Message ID:
00904354
Views:
28
Sorry that I wasn't clearer. The first example I posted works fine. I put the HyperLink into the web DataGrid and I am able to set the properties so that the link is generated dynamically. This is how I setup the HyperLink in DataGrid with the VS.NET 2003 property builder:
URL field: CompanyID
URL format string: CompanyData.aspx?CompanyID={0}
However, when I want to pass two variables in the URL format string, CompanyID and IndexTypeID, I can't get it to work. I am trying to dynamically link to the CompanyData.aspx page, but pass 2 variables in the query string. Does that make sense?

>>I am having a problem implementing a HyperLink in a ASP.NET DataGrid where there are not one but two URL Fields that I need. Rather than this:
>>
>>
>>URL field: CompanyID
>>URL format string: CompanyData.aspx?CompanyID={0)
>>
>>
>>I need something like:
>>
>>
>>URL field: CompanyID, IndexTypeID
>>URL format string: CompanyData.aspx?CompanyID={0)&IndexTypeID={1}
>>
>>
>>Any ideas?
>
>Not sure what the question is here. Are you looking for code for your DataGrid? Do you already have code for the first example and need it expanded to include the second example?
Chris McCandless
Red Sky Software
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform