11/12/2004

HowTo: Display a different image inside a data view web part based on data in the XML

HowTo: Display a different image inside a data view web part based on data in the XML
I have a Data View Web Part that displays the status of several different servers I maintain. Basically, I am using a SharePoint list. The List has a Title field which contains the name of each server and a multiple choice field that lets me set the status to "UP," "DOWN," or "CAUTION."

For each of these three statuses, I have a little gif image of a green arrow, red arrow and yellow circle respectively. What I want to do is create a data view that has the name of the server and displays the arrow based on the what the status is.

--
EROL
www.mysps.info

Aucun commentaire: