1
I’m trying to change the font color only give cell of a column that contains "x" value... but I’m only able to change the whole row... I tried to make only cell but without success, follow code used so far.
foreach (DataGridViewRow row in tableLeitura.Rows)
{
if (Convert.ToInt32(row.Cells["GLicemiaCalc"].Value) > 180)
{
// Se celula for menor que 70
row.DefaultCellStyle.ForeColor = Color.DeepSkyBlue;
}
}
Thank you very much, I got it here.
– Caio Cesar