Solved

Database driven rotating images

Posted on 2012-03-12
1
131 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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

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…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now