View Full Version : Checkbox uncheck in a datagrid


dr223
02-12-2009, 05:17 AM
Hallo,

I have a checkbox on a datagrid and on loading the form is set to True (checked) with the code below which works well.

For irow = 0 To DgvToPay.Rows.Count - 1

DgvToPay.Rows(irow).Cells(3).Value = True

Next irow


What am trying to do is when the checkbox is unchecked then the next textbox on the datagrid i.e., DgvToPay.Rows(irow).Cells(4).Value is set to 0.00.

Any help please...

Thanks