Dears
IF cursor leaves column 0 and row 0 then it displays msgbox but
I want to check where column 0 and row 0 has value or empty
In case of empty cell it must display msg as
msgbox("this is empty cell")
Please help
VB.NET:
Private Sub DataGridView1_CellLeave(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellLeave
If e.ColumnIndex = 0 And e.RowIndex = 0 Then
MsgBox("this is first coulmn")
End IfEnd Sub
IF cursor leaves column 0 and row 0 then it displays msgbox but
I want to check where column 0 and row 0 has value or empty
In case of empty cell it must display msg as
msgbox("this is empty cell")
Please help