How to rebind checkboxlist
<p>I have a checkboxlist which contain 3 checkboxes whose values are check1,check2,check3. In database, in table, there is a field to save the values of checked checkboxes.</p>

<p>If that field conatins values check1, check2, check3 and if I use following code to bind checkboxlist, only check3 gets checked, but check1 and check2 is unchecked</p>

<pre><code>   string[] strSourceOfInformation = dtEnquiry.Rows[0]["SourceOfInformation"].ToString().Split('&amp;');
                for (int i = 0; i &lt; strSourceOfInformation.Length; i++)
                {
                    if (strSourceOfInformation[i].ToString() != "")
                    {

                        foreach (ListItem htlRmItem in chkSourceOfInformation.Items)
                        {
                            if (htlRmItem.Value == strSourceOfInformation[i].ToString())
                            {
                                htlRmItem.Selected = true;
                            }
                        }

                    }
                }
</code></pre>

<p>how can I modify the code to get check1, check2 and check3 gets checked?</p>
