G
Guest
I have a datagridview I call the CellValidating event and if the the cell
does not validate I want to reset the cell to a default value. My code
actually executes this statement:
datagridview1.CurrentRow.Cells[Columnx].Value = defaultValue;
but the statement does not change the cell at all.
does not validate I want to reset the cell to a default value. My code
actually executes this statement:
datagridview1.CurrentRow.Cells[Columnx].Value = defaultValue;
but the statement does not change the cell at all.