What error are you getting ? What is the Data Type that you are binding with that field ? If you it's a Boolean value and you want to bind it in CheckBox, there is no need, as GridView Automatically Takes care of all these. Boolean values renders in to CheckBox Only.
For Binding any other value, you can either use bind expression of that data field in aspx pages or in code Behind.
<asp:GridView ID="GridView1" runat="server">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:checkbox id="CheckBoxid" runat="server" xmlns:asp="#unknown">
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView></asp:checkbox>
From the code behind, during RowDataBound, you can access it as below
protected void GridView2_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
YourClass object = (YourClass)e.Row.DataItem;
CheckBox chkbox = e.Row.FindControl("CheckBoxid");
chkbox.Text = object.someProperties.
}
}
Hope this will help !