I'm looping through the rows in my datagridview and want to highlight one when I find a certain match. How do I do that last part? See commented line below.
Dim myrow As DataGridViewRow
For x = 0 To Me.DataGridView1.Rows.Count
myrow = DataGridView1.Rows(x)
If myrow.Cells(0).Value.ToString.Trim = MatchingKeyCodeThen
' ?? Can't find command to highlight row(x).