pete_s
-
10/12/2011 3:44:33 AM
Ifcompare with boolean data type
Hi,
If I use the following in a transformation:
<%# IfCompare(Eval("Testfield"),0,"No","Yes") %>
And testfield is a boolean datatype, what should I be putting in the comparison field? I've tried 0,-1, 1, etc but nothing seems to work.
Thanks,
Pete
|