DataGrid Cell Color

G

Guest

Hello;

I'm using a datagrid bound to a dataset. The background of the datagrid is
white. I'd like to have the data in one column only be one of three colors.
(RED, GREEN, BLUE) depending on one of three values that the data in that
cell could be.

Any ideas on how to do this?
 
O

octupul

Attatch an event to ItemDataBound and you should be able to control the
look of each row and subsequently each cell as the data is proccessed
for the dataset.

-Bryan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top