I think your
If
statement should look like this. It sets the
lblKET
to visible if the cell is Null or contains only spaces or an empty string.
If dgvdatakaryawan.Item(e.ColumnIndex, e.RowIndex).Value Is Nothing orelse _
dgvdatakaryawan.Item(e.ColumnIndex, e.RowIndex).Value.ToString.Trim = "" Then
lblKET.Visible = True
Else
lblKET.Visible = False
End If