asp.net - How to save a checkbox checked state as a boolean? -
How to save the checkbox status as a boolean?
asp.NET VB The above code produces the following error: 'Check' is not a member of the bullion How can the checked status of the check box be changed in a Boolean result? However, the name of your checkbox is If it is already at the top of the page, you can reference it directly:
& lt; Asp: checkbox id = "cb" runat = "server" />
slow CB like Boolean = CB Checked
checked property already provides a
boolean , then your question is somewhat misleading.
cb , you have used your
boolean variable name then you
cb.Checked < / Code> wants
boolean not
checkbox .
is slow box checked Boolean = CB Checked 'There is no need to search references'.
Comments
Post a Comment