Re: Datagridview Checkbox
Only if you click the cell. But, you need to check the type in the IF condition. Your code will always be 0 because 1+1 is 2
Re: Datagridview Checkbox
I don't think the CheckBox.Value is what you want. You will need to put a checkbox on a form, catch the event, put a break in the event and look at the checkbox to see what actually turns true when the box is checked. I think it is Checked. So if you put dgCustomerPackage.CurrentRow.Cells("colchkSelect").Checked = False I think you will get what you want.