Dim currentRow As DataGridViewRow = Me.dgExpenditure.Rows(e.RowIndex) Dim incexpCell As DataGridViewCell = currentRow.Cells(0) If Not Me.closingBoolean Then If incexpCell.FormattedValue.ToString = String.Empty Then Me.showExpIncAccCellError(incexpCell) e.Cancel = True Else Me.clearCellError(incexpCell) e.Cancel = False End If Else Me.dgExpenditure.ShowCellErrors = False Me.dgExpenditure.ShowRowErrors = False End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)