I have tried codes from here and there from all over the place but couldnt get anything to work...
I have my CheckBoxList values saved in a database. All i want is to Retrieve the values from Database and get the CheckBox List items to be selected accordingly.
The code in design page is:
<asp:CheckBoxList ID="CheckBoxList1" runat="server">
<asp:ListItem Value="1">Sales</asp:ListItem>
<asp:ListItem Value="2">Office & Administration</asp:ListItem>
<asp:ListItem Value="3">Domestic Help</asp:ListItem>
<asp:ListItem Value="4">Education & Training</asp:ListItem>
<asp:ListItem Value="5">Accounting and Finance</asp:ListItem>
<asp:ListItem Value="6">Hospitality and Tourism</asp:ListItem>
<asp:ListItem Value="7">Computer and IT</asp:ListItem>
<asp:Li ...
Go to the complete details ...