are you using code behind and DataTableStyle, DataGridBoolColumn for your DataGrid?
if so, there is a FalseValue, TrueValue, NullText property for DataGridBoolColumn where you can set which value would check/uncheck the checkbox
for DataGridTableStyle
http://msdn.microsoft.com/
for DataGridBoolColumn
http://msdn.microsoft.com/
TimCottee's solution seems brief and concise, so i suggest you try if it solves your problem.. but incase you want, try these links..c",) they come in very handy with DataGrid
Main Topics
Browse All Topics





by: TimCotteePosted on 2005-09-15 at 07:55:14ID: 14889817
Hi suran78,
x id="Chk" runat="server" Text='' Checked=<%# Databinder.Eval(Container. DataItem," Invalid_Da ta") %>></asp:CheckBox>
Try:
<ItemTemplate><asp:CheckBo
Tim Cottee