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