We help IT Professionals succeed at work.

Database driven rotating images

slimguy asked
I have a user-maintained database containing records relating to buildings, and a number of images (2 - 5) of each building. I want to display rotating images of a selected building.

I know  there are asp.net controls that will do this (eg the Obout suite), but the website runs on a hosted server, so I cannot install these. I also know it can be done with javascript, but don't know how the image names be set dynamically from the database using asp.net (vb) code?

Any suggestions or help please?
Watch Question

Systems Development / Support Specialist
I am just presenting you the logic to implement this scenario.

string simages = <get all image names from database at once based on any condition you have and append all image names with "|" character>;

for loop
split  with character "|"  and take the strings and use;

I hope my logic may help you .

Explore More ContentExplore courses, solutions, and other research materials related to this topic.