Name ID deleted charlotte 1 y jay 1 n rose 1 y hale 1 y mike 1 n
Dim a As Integer = 0 While a <> DGVpeople.RowCount If DGVpeople.Rows(a).Cells(2).Value = "y" Then 'Code to make the row red? End If a = a + 1 End While End Sub
For Each row As DataGridViewRow In DGVpeople.Rows If row.Cells(2).Value = "y" Then row.DefaultCellStyle.BackColor = Color.Red End If Next
While a <> DGVpeople.RowCount
While a < DGVpeople.RowCount
DGVpeople.Rows(a).DefaultCellStyle.BackColor = Color.Red
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)