01.
If
Me
.DataGridView2.Rows.Count <> 0
Then
02.
For
r_2
As
Integer
= 0
To
Me
.DataGridView2.Rows.Count - 1
03.
For
r_1
As
Integer
= 0
To
Me
.DataGridView1.Rows.Count - 1
04.
If
Me
.DataGridView1.Rows(r_1).Cells(1).Value =
Me
.DataGridView2.Rows(r_2).Cells(2).Value
Then
05.
Me
.DataGridView1.Rows(r_1).DefaultCellStyle.BackColor = Color.LightSkyBlue
06.
End
If
07.
Next
08.
Next
09.
End
If