Click here to Skip to main content
15,887,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to choose random images from xml file....
Posted

The first solution given on this[^] thread is a good one.
 
Share this answer
 
Comments
JF2015 22-Feb-11 0:23am    
Good link. 5+
Abhinav S 22-Feb-11 0:25am    
Thank you.
u should use adrotator control and xml file
and this xml file shold have these tags
XML
<?xml version="1.0" encoding="utf-8" ?>
<Advertisements>
  <Ad>
    <ImageUrl></ImageUrl>
    <AlternateText></AlternateText>
    <NavigateUrl></NavigateUrl>
    <Impression></Impression>
  </Ad>
</Advertisements>


in between this ImageUrl write image path like images/01.jpg
if picture not found it will show the path u type in AlternateText
after that use adrotator and select this file with adrotator.
 
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