I'm trying to use the following method:
for (int i = 0; i < dgvRequisicao.Rows.Count; i++)
{
valor = Convert.ToDouble(dgvRequisicao.Rows[i].Cells["valor"].Value);
if (valor > 20000.01 && valor < 100000)
dgvRequisicao.Rows[i].DefaultCellStyle.BackColor = Color.Yellow;
else if (valor > 100000.01)
dgvRequisicao.Rows[i].DefaultCellStyle.BackColor = Color.Red;
}
But you're not coloring at all.
Thank you