How to make a checkbox checked in a gridview using DataBinder.Eval
<p>I am trying to make a checkbox checked if the value is 1 or 0 basically in my database i have
a field called <code>Active (bit, not null)</code> and i can pass the value to the gridview.. but now i am trying to make it checked if the bit is 1 or not checked if the bit is 0 but its not working.. it just shows unchecked but the bit is 1.</p>

<pre><code>   &lt;ItemTemplate&gt;
   &lt;asp:CheckBox ID="ItemCheck" runat="server"
    Enabled='&lt;%# (DataBinder.Eval(Container.DataItem, "Active")) %&gt;' /&gt;
   &lt;/ItemTemplate&gt;
</code></pre>

<p>Any help would be much appreciated</p>
