A
ad
I convert the field to a template column and then use a tmeplate expression
like this:
<%# (DataBinder.Eval(Container, "DataItem.SexID"))=="1" ? "Male":"Female"%>
Why the value always equal Female
(This method is from Rick Strahl)
like this:
<%# (DataBinder.Eval(Container, "DataItem.SexID"))=="1" ? "Male":"Female"%>
Why the value always equal Female
(This method is from Rick Strahl)