|
-
Dec 13th, 2012, 02:20 PM
#1
Thread Starter
Fanatic Member
DataGridView - Highlight Cell
I have a datagridview in my project which is bound to a dataset.
The grid populates fine, but I'm looking to do something a bit more.
One of the columns is called "Status" and right now it returns the ID from the database in this column (e.g. "13", "14" etc). I'd like to substitute this value with it's associated color so if it's "13" set the cell background to green, if it's 14 set it to yellow and so on.
Just not sure a) where to put this code and b) how to do it.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|