Hi,
I have something like this on .aspx web page:
<asp:Label Visible='<%# String.IsNullOrEmpty(Convert.ToString(Eval("Column1))) && Convert.ToInt32(*Eval("Column2")) >=1? true: false %' Text="Fruit" runat ="server" />
What I would like to say is:
If column1 isNullOrEmpty or zero AND Column2 >=1 then display "Fruit"
However, I don't know how to add the condition = 0 for Column1.
Column1 has Int data type with values (0, 1).
Column2 has Bit data type with values (0 , 1 or NULL).
Please HELP.
Thanks so much.