hi,
Using ASP Template Field you can achieve it like this.
<asp:templatefield headertext="IsActive" xmlns:asp="#unknown">
<itemtemplate>
<asp:checkbox id="chkIsActive" runat="server" headertext="IsActive">
Checked='<%#bool.Parse(Eval("IsActive").ToString())%>' />
</asp:checkbox></itemtemplate>
</asp:templatefield>
here
IsActive
is the column name which has
TRUE
or
FALSE
coming from database. if IsActive is True then it will Check the checkbox