ASP.NET: Bind HyperLinkColumn to more than one field

Posted by Jonathan Allen on Stack Overflow See other posts from Stack Overflow or by Jonathan Allen
Published on 2010-06-09T23:29:38Z Indexed on 2010/06/09 23:32 UTC
Read the original article Hit count: 233

Filed under:

Using ASP.NET and the DataGrid, how do I bind a HyperLinkColumn to more than one field?

    Dim detail As New HyperLinkColumn
    With detail
        .Text = "View Details"
        .HeaderText = ""
        .NavigateUrl = "\TeamDetail.aspx?Account={0}&Broker={1}"
        .DataNavigateUrlField = "AccountKey, BrokerNumberKey"
    End With

I was hoping for an data-binding event on HyperLinkColumn but no such luck.

© Stack Overflow or respective owner

Related posts about ASP.NET