C#/.NET how to highlight certain rows in DataGridView
.net, c#, datagridview, datasource, winforms
Solution
There's a great example here.
The concept is that you subscribe to events from the grid. When a cell is filled, an event is fired and based upon the value you can format the cell etc.
Problem
I have a DataGridView that is filled by setting its DataSource to a DataBinding. Now I want to have certain rows in the DataGridView having different Backgroundcolor according to some value in the row itself. How can I possibly accomplish this?