title: ASP.NET Repeater - Eval() for bool?
body: <p>I have a simple repeater, where I want to display checked/unchecked checkboxes:</p>
  
  <pre><code>&lt;asp:Repeater ID="myRepeater" runat="server"&gt;
     &lt;ItemTemplate&gt;
        &lt;td&gt;
           &lt;asp:CheckBox runat="server" ID="cb" Checked='&lt;%# Eval("value") %&gt;' /&gt;
        &lt;/td&gt;
      &lt;/ItemTemplate&gt;
   &lt;/asp:Repeater&gt;
  
  
  var list = new List&lt;bool&gt;();
  
  list.Add(true);
  list.Add(false);
  
  myRepeater.DataSource = list;
  myRepeater.DataBind();
  </code></pre>
  
  <p>but I get an error:</p>
  
  <blockquote>
    <p>DataBinding: 'System.Boolean' does not contain a property with the
    name 'value'.</p>
  </blockquote>
  
  <p>How to fix it ?</p>