I have a listview that consists of three columns, one of those is a 'status' column. I want the backcolor of the cell in this column to color either green of red based on the value that's in there, but so far I haven't been able to find the right solution.
I've found a lot information on applying a backcolor to a full row, but nothing yet on doing so for a cell with a specific value. Nothing that seems to work, at least.
if (emp.SubItems[2].ToString() == "AANWEZIG")
{
emp.BackColor = Color.Green;
}