Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Database driven rotating images

Posted on 2012-03-12
1
Medium Priority
?
143 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 500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

916 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