title: Checkbox Within EditItemTemplate Of GridView Column
body: <p>I have a template field within a GridView to display a checkbox in edit view and some custom text in normal view.</p>
  
  <p>The results of the query to populate the grid are coming back in a DataSet.</p>
  
  <p>In the edit view I can't get the checkbox to accept the column that is retuning from the DataSet (which is in T/F format) as it says its not the correct type. 
  Even if I return "true" or 1 in the column it still dosn't work.</p>
  
  <p>I take it I need to convert but can't get the syntax correct in this context         </p>
  
  <pre><code>&lt;EditItemTemplate&gt;
                &lt;asp:CheckBox ID="cbPostToFarm" runat="server" Checked='&lt;% Bind("BOOL_COL")' /&gt;
              &lt;/EditItemTemplate&gt;
  </code></pre>