Tom Sage
asked on
DataGridView RowPrePaint - Paint rows based on Cell value
How can I color a row based on a cell value on that row using DataGridView RowPrePaint event?
Thank you
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Your example was very helpful. I was able to make the code in my program work as I wanted.
Thank you !
Thank you !
I have been doing this in the Datasource Changed sub of a datagrid. I am changing the background color based on the parents value. It shouldnt be hard to convert to what you are after.
Hope this helps
Open in new window