|
-
Feb 16th, 2008, 02:46 AM
#1
Thread Starter
Member
Changing checkbox color in gridview
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|