icethegreat
New Member
Sorry for the mouthful of a title, but what I'm trying to do is really basic. In a inbox with messages, the DB for each message has a \[code\]hasBeenRead\[/code\] bit. Once this message is clicked and "read", this bit is set to true, otherwise false. I am wondering how I can essentially set every background color of those that have been read to something else than the default? I had some ideas, like going through every row and checking for that bit.......but assuming you have a big enough gridview with enough rows, wow that sounds very inefficient. I was also thinking I could store the color that the row should be in the database......but then I'm not sure how this would translate to actually changing the color of the row.