Dynamically Assigning Colors to Fields in ASP.NET
February 23, 2008 by Jason Bean
Filed under Computers
I’ve come across another little frustration with Visual Web Developer Express and ASP.NET
I’m trying to figure out how to dynamically assign a background color to a label or text field based on the value of a field in the database.
For example, we’d have a field labeled AlertColor and in that field would be the hexidecimal color code that we’d like to use based on the another field value somewhere else.
Now, I’d think that should be a straight forward bound field, but it appears that it’s not so simple. Does anyone have any good solutions or reasons why this isn’t as simple as I would expect?















can you tell memore about the xp and linux world if you have any