title: Binding Checkboxlist
body: <p>I need a simple way to bind the checkboxlist in <code>asp.net /C#</code>.</p>
  
  <p>I am pulling 3 columns from database Id, Name and IsActive. Id and Name i think will be clear by its name. And IsActive will be used to show checked and unchecked box. I just want to know, <strong>can I bind the child check box values with IsActive while data binding?</strong></p>
  
  <p>E.g. </p>
  
  <pre><code>cbxlFeatures.DataSource = dt;
  cbxlFeatures.DataValueField = "Id";
  cbxlFeatures.DataTextField = "Name"; // something similar to this
  cbxlFeatures.SomePropert= "IsActive";
  cbxlFeatures.DataBind();
  </code></pre>
  
  <p>I know the conventional way to iterate through the items and data columns and compare and put checks.
  I need some easy and optimized way...</p>
  
  <p>Thanks</p>