Kurt111780
Technical User
Hello,
I'm using a datagrid with a hyperlink column.
It works great but I only want the link to show up if a field in the database is not blank. How can I do this without the ID field?
Thanks,
Kurt
I'm using a datagrid with a hyperlink column.
Code:
<asp:HyperLinkColumn DataTextField="txtName" DataNavigateUrlField="showID" DataNavigateUrlFormatString="exboDetail.aspx?id={0}" HeaderText="Exhibition" />
It works great but I only want the link to show up if a field in the database is not blank. How can I do this without the ID field?
Thanks,
Kurt