hi
i am using template field display image based on condition in table field.
i have field name verify i used to store yes or no value
if it is yes then display image else noting to display in gridview
This way
<asp:Image ID="Image1" runat="server" Height = "250" Visible = '<%# Eval("Verify").ToString() == "yes" ? true : false %>' />
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.