By using the Sender you can handle as many as you want,
Private Sub RowValidating(sender As Object,
e As DataGridViewCellCancelEventArgs) Handles DGV1.RowValidating, DGV2.RowValidating
Dim DGV As DataGridView = DirectCast(sender, DataGridView) '<<<<<<<<<<<<<<
Dim EmptyCount As Integer
For i = 1 To DGV.ColumnCount - 1
If DGV.Rows(DGV.CurrentRow.Index).Cells(i).EditedFormattedValue.ToString = "" Then
EmptyCount += 1
End If
Next
TextBoxCount.Text += DGV.Name & " row " & DGV1.CurrentRow.Index + 1 & " has " & EmptyCount & " empty cells." & vbCrLf
End Sub