Here’s where it all starts:
<asp:adRotator AdvertisementFile=”/myads.xml” Runat=”server”/>
Let’s say you want the ads on your site to be at the top or bottom of the page. You merely place the adRotator control wherever you want it on your page. This is one of the built in ASP.Net server controls. As you can see, the property ‘AdvertisementFile’ must point to an xml file. Here, it is named ‘myads.xml’, but you can name it anything you want – but it needs to be in xml format. Therefore, you might want to brush up on the basics of xml if you don’t know what an xml file is. If you know a little about the basics of databases, the format should at least look a little familiar. Just have the path to the xml file an exact one so that the server control can find it, in reference to the page it’s on.If you wanted the URLs loaded in a new blank page, you could add the ‘target’ property inside the adRotator control (target=’blank’).
Here’s the basic format of what’s needed in the xml file:
Continues…