Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP SQL
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 23:59pm
Edited 9-Nov-12 1:16am
aspnet_regiis -i at 9-Nov-12 5:03am
What have you tried?
ritesh88sharma at 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 at 9-Nov-12 5:25am
thanks for your solution but i want to retrieve image from database..
aspnet_regiis -i at 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)

Advertise | Privacy | Mobile
Web04 | 2.8.150326.1 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2015
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