Change colors in datagrid
Hi All
Definite newbie...
Just playing around with C# and ASP.NET
I've got a datagrid that shows info from a database. What I'd like to do is color the values in each cell depending on the content.
eg: a value of "Good" shows up in green and a value of "Bad" shows up in red.
Hope this is a simple thing.
Phill
chrishornbergerRank #2,700 · 517 reputationPosted Sep 26, 2003, 7:25 AM EDT
...
and everything else uses only very basic HTML. Use a browser that supports style switching and deactivating (like mozilla's Firebird, for instance) to see how light and thin your html should really be.sidd5 reputationPosted Oct 15, 2003, 12:31 PM EDT
philcart5 reputationPosted Oct 16, 2003, 9:35 PM EDT
tsuman_inRank #6,374 · 268 reputationPosted Oct 21, 2003, 7:06 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts