Click here to Skip to main content
15,916,412 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a datagridview made up of multiple rows and columns. I want to iterate through each row and check the contents of a specific column. If that column contains the word "RED", I want to change the forecolor of the entire row to Red.f that column contains the word "GREEN", I want to change the forecolor of the entire row to Green.

Please suggest some way to do this

Thank you
Posted
Comments
Sergey Alexandrovich Kryukov 19-Nov-13 10:45am    
Which data grid? Full type name, please.
—SA

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900