'COLORA una delle due TABELLE DIFFERENTI ' prende il nome della prima tabella e la controlla sulla seconda contenute nella datagridView Dim Tabella As String = PopolaView.Item(1, 0).Value Dim c As New DataGridViewCellStyle() c.BackColor = Color.Black c.ForeColor = Color.Orange For Each r As DataGridViewRow In PopolaView.Rows If r.Cells("MyTab").Value <> Tabella Then r.Cells("MyTab").Style = c End If Next |