Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello sir,
i want to show the header image dynamically. my all image save in a folder and path and image name in sql database.
The images will change periodically. i have Java script function for it.
But i am not able to show image in header.

please anybody help me...

Thanks
Posted
Updated 9-Nov-12 0:16am
v2
Comments
bbirajdar 9-Nov-12 5:03am    
What have you tried?
ritesh88sharma 9-Nov-12 5:08am    
i taking a asp Image control to show the image after that i am count the no. of image file in the folder. after use the imageURL property i tried to show image.
ritesh88sharma 9-Nov-12 5:25am    
thanks for your solution but i want to retrieve image from database..
bbirajdar 9-Nov-12 7:37am    
AdRotator works with database as well....

1 solution

For your requirements you need to use the AdRotator control in asp.net. Do not waste your time in using the Image Control and the logic to change the image URls periodically..

Refer these links
http://www.w3schools.com/aspnet/control_adrotator.asp[^]
AdRotator Using ASP.NET Code Behind[^]
http://support.microsoft.com/kb/305035[^]
http://www.tutorialspoint.com/asp.net/asp.net_ad_rotator.htm[^]
 
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