I have a checkboxlist in aspx as following.
<asp:CheckBoxList ID="new1" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
<asp:ListItem>A</asp:ListItem>
<asp:ListItem>B</asp:ListItem>
<asp:ListItem>C</asp:ListItem>
<asp:ListItem>D</asp:ListItem>
</asp:CheckBoxList>
In the table in sql server database, the data from this checkboxlist is stored in 1 field with comma delimiter.
e.g A,C,D or A,B,C,D.
now when i retrieve data i want to have only those checkboxes checked that are in that string in DB.