Click here to Skip to main content
Sign Up to vote bad
good
See more: C#ASPSQL
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 8 Nov '12 - 22:59
Edited 9 Nov '12 - 0:16

Comments
aspnet_regiis -i - 9 Nov '12 - 5:03
What have you tried?
ritesh88sharma - 9 Nov '12 - 5:08
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:25
thanks for your solution but i want to retrieve image from database..
aspnet_regiis -i - 9 Nov '12 - 7:37
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[^]
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 394
1 Mahesh Bailwal 353
2 Maciej Los 285
3 CPallini 245
4 Rohan Leuva 175
0 Sergey Alexandrovich Kryukov 9,287
1 OriginalGriff 7,204
2 CPallini 3,923
3 Rohan Leuva 3,211
4 Maciej Los 2,713


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid