G
gadya
In an Item template in a formview I have a checkbox thus:
parking:
<asp:CheckBox ID="parkingCheckBox" runat="server" Checked='<%#
eval("parking") %>'
Enabled="false" / >
However I don't want to display "parking" followed by a ticked/unticked box
but rather to display "parking" (in a label?) if the check box is ticked, and
not to display anything if it is unticked. How can I do this?
parking:
<asp:CheckBox ID="parkingCheckBox" runat="server" Checked='<%#
eval("parking") %>'
Enabled="false" / >
However I don't want to display "parking" followed by a ticked/unticked box
but rather to display "parking" (in a label?) if the check box is ticked, and
not to display anything if it is unticked. How can I do this?