Click here to Skip to main content
13,191,040 members (68,290 online)
Rate this:
Please Sign up or sign in to vote.
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...

Posted 8-Nov-12 22:59pm
Updated 9-Nov-12 0:16am
aspnet_regiis -i 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..
aspnet_regiis -i 9-Nov-12 7:37am
AdRotator works with database as well....

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

Refer these links[^]
AdRotator Using ASP.NET Code Behind[^][^][^]

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.171016.2 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100