done!



"Marshall Harrison" <[EMAIL PROTECTED]>@DISCUSS.DEVELOP.COM> on
04/22/2002 02:30:17 PM

Please respond to "dotnet discussion" <[EMAIL PROTECTED]>

Sent by:    "dotnet discussion" <[EMAIL PROTECTED]>


To:    [EMAIL PROTECTED]
cc:
Subject:    [DOTNET] How do you bind a DataGrid HyperLinkColumn to more
       than one field ?

I have a HyperLinkColumn defined as :

<Columns>
        <asp:HyperLinkColumn HeaderText="Term" DataNavigateUrlField
="LACMPY"
DataNavigateUrlFormatString="SqlLoadsDetails.aspx?Company={0}"
DataTextField="LATRMC" />
</Columns>

In reality the hyperlink needs two fields to make it work (i.e
SqlLoadsDetails.aspx?Company=ABC&LoadNo=1 ) with each parameter coming from
a different database field. I can't seem to find a way to get both fields
into the DataNavigateUrlFormatString. Can someone tell me how to do this?

Thanks.

Marshall Harrison

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to