Click here to Skip to main content
Rate this: bad
good
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...
 
Thanks
Posted 8-Nov-12 22:59pm
Edited 9-Nov-12 0:16am
v2
Comments
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
good
Please Sign up or sign in to vote.

Solution 1

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
0 Nirav Prabtani 288
1 OriginalGriff 254
2 Sergey Alexandrovich Kryukov 224
3 _Amy 165
4 Richard MacCutchan 145
0 OriginalGriff 7,744
1 Sergey Alexandrovich Kryukov 6,956
2 Maciej Los 3,994
3 Peter Leow 3,708
4 CHill60 2,742


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