Hi everyone,
I have the current situation, I have get done with the datagridview cellvalidation, but, I need that after the validation get's done, to set different columns values on the same datagridview.
If Vacaciones_HistoricoDataGridView.Columns(e.ColumnIndex).Name = "DataGridViewTextBoxColumn7" Then
If e.FormattedValue.ToString() > Dias_Asueto Then
MsgBox("Los dias correspondientes son " & Dias_Asueto)
e.Cancel = True
else
'here I was thinking on something like DataGridViewTextBoxColumn7.value = 60 and so on, but none of this works.
End If
End If
The event is taking place at the CellValidating event, if anyone can lend me a hand I will really appreciate it, best regards, JJGarc1a