Solved

Database driven rotating images

Posted on 2012-03-12
1
133 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

776 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