DataGrid Cell Color

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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
 
Back
Top