I got 2 checkboxlists , each checkbox has 6 checkboxes inside it (below is my database)
checkboxlist1 : id , rowa
checkboxlist2:id , rowb
id : int
rowa : bit
rowb : bit
When I click one checkbox, the value is saved to my database as TRUE ,But somehow, when I load the page, it does not show the checked state (checked/unchecked). Here is my code . Can you help me out? Thanks. Merry Xmas to all of you
. Here is my code:
<asp:Panel ID="Panel1" runat="server">
<asp:CheckBoxList ID="CheckBoxList1" runat="server" style="margin-left: 258px">
<asp:ListItem Text="1"></asp:ListItem>
<asp:ListItem Text="2"></asp:ListItem>
<asp:ListItem Text="3"></asp:ListItem>
<asp:ListItem Text="4"></asp:ListItem>
</asp:CheckBoxList>
<br />
<br />
<asp:CheckBoxList ID="Chec ...
Go to the complete details ...