I'm developing an interface that uses a grid to display different sets of items. I need to be able to take a column in the dataset and use it to determine the color to display that row on the grid, e.g. if colomn "color_code" = 1 then the row of the grid containing that data is displayed in red. Hi, Rick,
Here's a link that may help.
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.aspExamples 5.14 and 5.67 have some sample code for doing this (setting the colors/fonts dynamically). Personally, I like 5.67 better.
Some of the third party grids (like Syncfusion's EssentialGrid) do this more elegantly, but it can be done with the native Winforms datagrid.
Hope this helps...
Kevin