check Box column in DataGridView control
Hi All,
I am using C# as a programming language.
Now at my form i have a Data Grid View control. This datagrid is bound with my table named Documents.
Now at runtime i add a check box column in this grid. So that user can check which documents he needs.
Now i want to check a few check boxes in this particular column checked automatically at the Form Load event...
i just need to know that what code i should write to make the value of a check box = checked........
i have written code like
Grid.rows[e.rowIndex].cells[3].value = true;
This code executes fine.. but i can still see the check box empty.. means it is not checked...
if anybody has some idea... kindly help.....
Tiyyob
__________________
Tiyyob
|