Datagrid with images
I am attempting to build a basic asp page with a datagrid. In the datagrid I am showing a list of computers and for each computer I want to provide a quick visual of the state of its components. For example, I have 1 column for the computer and 5 columns for various components. The component columns would show green dots for OK, red dots for a problem, and blue dots for unknown. The dots would need to be updated if the component's status changed. I have stored the machines and their statuses in a database. But I am wondering the best way to implement showing these dots. Should they be images which I would store a path to in the database and how would I bind and change the images in each row? Or is their an easier way? Thanks for any suggestions.
Jango
|