Working with AdRotator Control
Example of AdRotator Control:
Working with AdRotator Control
Create a new web page and place an AdRotator control on it.<form >
<div>
<asp:AdRotator ID="AdRotator1" runat="server" AdvertisementFile ="~/ads.xml"
onadcreated="AdRotator1_AdCreated" />
</div>
</form>
The ads.xml file and the image files should be located in the root directory of the web site.
Try to execute the above application and observe that each time the page is reloaded,
Comments
Post a Comment