Since you have not added your new row yet it should validate OK." yeah i think it is because of the line you have said above how can i avoid this situation???
thanxxxxxxxxxxx If you have attached an event handler to the Cell Validating event then it will always fire when focus leaves the cell.
Since you have not added your new row yet it should validate OK.
"The validating event is firing because focus is being moved from the DGV to the button.
Columns(6), Data Grid View Combo Box Column) If (e.
Private Sub Data Grid View1_Cell Validating(By Val sender As Object, By Val e As System. Cell Validating If Col Add Then Dim combo Box Column As Data Grid View Combo Box Column = CType(Data Grid View1.
Hi there, I have a question regarding datagridview, I add data to the datagridview in an interface and all the validation for the datagridview cell is in the datagridview cell validating event for the datagridview.
I display the data of the is datagridview in another interface and make the cells read-only. But the thing is when I click on a row that data was added previously and press the Add new row the cell validating event is triggered.