13-06-17, 06:46 PM
for i as integer = 0 to ds.tables("tb").rows.count - 1
if dgv.Rows(i).Cells(2).value = false then
dgv.Rows(i).Cells(0).Style.BackColor = Color.red
endif
next
if dgv.Rows(i).Cells(2).value = false then
dgv.Rows(i).Cells(0).Style.BackColor = Color.red
endif
next
