title: Binding a datatable to a checkbox list
body: <p>I have a database with criteria in it, I use SQL to extract all criteria from the database into a data table but when I bind the data it doesn't display in my checkbox? What am I doing wrong?</p>
  
  <pre><code>private void Criteria_Load()
  {
     string query = "Select CRITERIA From EF_CONTACT_FIELDS";
     cbCriteria.DataTextField = "CRITERIA";
     cbCriteria.DataSource = GetData(query);
     cbCriteria.DataBind();
  }
  
  &lt;asp:CheckBoxList ID="cbCriteria" runat="server"&gt;&lt;/asp:CheckBoxList&gt;
  </code></pre>