ASP 101 - Active Server Pages 101 adrotator.aspx
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>ASP.NET Ad Rotator Sample</title>
</head>
<body>
<form id="myForm" runat="server">
<div>
<p>
Here's an ad displayed by the AdRotator component:
</p>
<asp:AdRotator ID="myAdRotator" runat="server"
	AdvertisementFile="adrotator.xml"
/>
<p>
Here's another ad using the same AdvertisementFile, but this time
the ad is keyword filtered to only show ads in which the penguin
is golden colored (ads 1, 2, and 3):
</p>
<asp:AdRotator ID="arGoldenPenguin" runat="server"
	AdvertisementFile="adrotator.xml"
	KeywordFilter="GoldenPenguin"
/>
<p>
The xml-based AdvertisementFile that defines the ads to be displayed can be found here:
<a href="adrotator.xml">AdRotator.xml</a>
</p>
</div>
</form>
<hr />
<p>
Click <a href="http://www.asp101.com/samples/adrotator_aspx.asp">here</a>
to read about and download the source code.
</p>
</body>
</html>