Author: kvanderstarren | Posted on: 4/28/2010 8:41:12 PM | Views : 1002

Hi There,
I'd like to use the eval statement but determine the inverse of the condition. For example, in the statement below, I'd like to set the Visible property based on <%# Eval("![IsConfirmed]")%> ... I realize that the syntax isn't correct but essentially, I want it set if IsConfirmed is NOT true. How do I construct the Eval statement to support that?

<asp:LinkButton runat="server" ID="ConfirmAppointment" Visible='<%# Eval("[IsConfirmed]")%>' />

...

Go to the complete details ...