If I got you right, you want to change displayed Node image depending on Node status: Active, Inactive or Wait.
you can achieve that in different ways, but the simplest approach that crossed my mind at moment is the following:
1) Store the status as Node's Value, something like:
2) Check Node status and set Node's ImageUrl property accordingly.
Here, you might need a conditional loop or
Case block to iterate through status possible values.
To set Node's ImageUrl, do something like:
Code: Visual Basic.NET
myNode.ImageUrl = "green.gif"
I will leave iteration code to you to attempt.
Hope this helps.
Regards,
Saed Hamdan"Man may be destroyed but not defeated" -Hemmingway