G
Guest
Dear all,
I have the folloeing entry for a datagrid column :
<asp:HyperLinkColumn
Text="<img border=0 src=file.gif>"
HeaderText="File"
DataNavigateUrlField="DOC_LINK"
DataNavigateUrlFormatString="{0}"
Target="_blank">
</asp:HyperLinkColumn>
My DOC_LOMK database field contains a fileName. This column is represented
in the grid by the picture defined in Text attribute.
What I would like to do is having that picture displayed only if the field
is not empty.
How to conditionnaly display the picture based on that empty conddition ?
Thnaks for your help
regards
serge
I have the folloeing entry for a datagrid column :
<asp:HyperLinkColumn
Text="<img border=0 src=file.gif>"
HeaderText="File"
DataNavigateUrlField="DOC_LINK"
DataNavigateUrlFormatString="{0}"
Target="_blank">
</asp:HyperLinkColumn>
My DOC_LOMK database field contains a fileName. This column is represented
in the grid by the picture defined in Text attribute.
What I would like to do is having that picture displayed only if the field
is not empty.
How to conditionnaly display the picture based on that empty conddition ?
Thnaks for your help
regards
serge