Need to bind data to input type checkbox
<p>I need to bind data to a html input type checkbox.. 
it is inside a gridview and this is my code for checkbox</p>

<pre><code>&lt;input type="checkbox" value='&lt;%# Eval("ProjectId") %&gt;' oninit="onl(this)" 
checked="&lt;%# Eval("CanBeInherited") %&gt;"  onclick="showvalue(this)"  /&gt;
</code></pre>

<p>Is this possible? or do i need to use other means of changing the checked property of a checkbox..</p>
