Click here to Skip to main content
15,902,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone


I want to show a slide show on my asp.net page
my images are stored in database(MYSQL)

now please tell me the complete procedure for it right from placing controls to coding, if you can

as i cant understand which control to use and where to show the images(datagrid or something else)

i would be highly thankful


kind regards
alok
Posted

The ASP.NET AJAX library has a slideshow control. Your other issue will be to create a page that returns the bytes of each image from you DB based on an id, but there's tons of samples on the web for that.
 
Share this answer
 
Why dont you create an
HttpHandler 
for the images. Just put the image file bytes from the database and write it to response stream.

From the client side place a javascript which will call the images one by one using setInterval("changeImage()", 1000)

Inside your function changeImage() put appropriate path which invokes the Handler.

Your Image will be called automatically when document.getElementById(Img).src is modified through javascript.

;)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900