Hi everyone,

I have a ASP.Net gridview that is bound to a datasource. One of the fields in the datasource is a SQL bit value called Online which is linked to the gridview as a readonly checkbox.

I am hoping to change the color of the checkbox depending on the Online value.

Ie: Online = 1/true - Color checkbox green
Online = 0/false - Color checkbox red

Could someone guide me in the right direction with this?
I am guessing I would have to do this around the datasource selected event?

Thanks in advance.