I want to change the color for a datagridview based on a cell value in that row. I just through this together and it only changes the first cells color. I see that but am not sure how to change the entire rows color.
For i As Integer = 0 To Me.TblPersonsDataGridView1.Rows.Count - 1
If Me.TblPersonsDataGridView1.Rows(i).Cells(64).Value >= "Yes" Then
'Me.TblPersonsDataGridView1.Rows(i).Cells("Cell_to_Change").Style.BackColor = Color.Red
Me.TblPersonsDataGridView1.Rows(i).Cells(i).Style.BackColor = Color.Red