Solved

Database driven rotating images

Posted on 2012-03-12
1
134 Views
Last Modified: 2012-03-31
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?
0
Comment
Question by:slimguy
1 Comment
 
LVL 12

Accepted Solution

by:
Anuradha Goli earned 250 total points
ID: 37709315
I am just presenting you the logic to implement this scenario.
-------------------------------------------
Logic:::

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 .
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question