Grid view Item template? In Asp.net?
<p>In asp.net web page, i am using gridview, in item template i am using check box which is for displaying status. if status is 1 cheked is ture if 0 it is unchecked i write the code like this.</p>

<pre><code>  &lt;asp:CheckBox ID="chkone" runat="server" Checked='&lt;%# Eval("status").ToString()=="1"? true :false %&gt;' &gt; &lt;/CheckBox&gt;
</code></pre>

<p>it will work when "status" is int [datatype, in database], if it is char(2) data type it is not working, can you help me.</p>
