P
peter p
Guest
Hello everybody. I am trying to get a check box from database and have it checked or not depending on the information in the database (yes/no).
In the checkbox I have the following:
<asp:checkbox Checked='<%# IIf((DataSet6.FieldValue("ABS", Container) = "true"), true, false) %>' id="ABS" runat="server" />
This does not give me the check box cheked in yes or true in database. What I am doing wrong or missing?
Can please anyone help me?
Thank you in advance.
In the checkbox I have the following:
<asp:checkbox Checked='<%# IIf((DataSet6.FieldValue("ABS", Container) = "true"), true, false) %>' id="ABS" runat="server" />
This does not give me the check box cheked in yes or true in database. What I am doing wrong or missing?
Can please anyone help me?
Thank you in advance.