title: Binding the Checked Property of a CheckBox within a TemplateItem
body: <p>For the life of me I cannot bind the Checked property of a CheckBox control within a TemplateField (declaritively).</p>
  
  <p>I have tried:</p>
  
  <pre><code>&lt;asp:TemplateField&gt;
      &lt;ItemTemplate&gt;
          &lt;asp:CheckBox ID="deactivated" runat="server" checked="&lt;%#Eval("Deactivated")%&gt;"&gt;&lt;/asp:CheckBox&gt;
      &lt;/ItemTemplate&gt;
  &lt;asp:TemplateField&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;asp:TemplateField&gt;
      &lt;ItemTemplate&gt;
          &lt;asp:CheckBox ID="deactivated" runat="server" checked="&lt;%#Eval(Container.DataItem, "Deactivated")%&gt;"&gt;&lt;/asp:CheckBox&gt;
      &lt;/ItemTemplate&gt;
      &lt;/asp:TemplateField&gt;      
  &lt;/asp:TemplateField&gt;
  </code></pre>
  
  <p>I keep seeing a warning stating:</p>
  
  <blockquote>
    <p>Cannot create an object of type 'System.Boolean' from it's string representation' 'for the 'Checked' property</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>