16-01-18, 01:11 PM
For i As Integer = 0 To Me.DataGridView1.Rows.Count - 1
If Me.DataGridView1.Rows(i).Cells(5).Value <=2 Then
' Me.DGV_acounts.Rows(i).Cells(6).Style.ForeColor = Color.Red
Me.DataGridView1.Rows(i).DefaultCellStyle.BackColor = Color.Yellow
End If
Next
اعتقد هيك تمام
If Me.DataGridView1.Rows(i).Cells(5).Value <=2 Then
' Me.DGV_acounts.Rows(i).Cells(6).Style.ForeColor = Color.Red
Me.DataGridView1.Rows(i).DefaultCellStyle.BackColor = Color.Yellow
End If
Next
اعتقد هيك تمام
