Dim row = GridView2.SelectedRow
Dim totalfilas As Integer = GridView2.Rows.Count
While totalfilas >= GridView2.Rows.Count
If CInt(row.Cells(6).Text) > 0 Then ' la celda 6 contiene campo a comparar,, si campo> 0 quiero pintar la fila
row.BackColor = Drawing.Color.Red
End If
totalfilas = totalfilas - 1
End While