Using a Basic AdRotator Control (VB.net)
<%@ Page Language=VB Debug=true %>
<HTML>
<HEAD>
<TITLE>Using a Basic AdRotator Control</TITLE>
</HEAD>
<BODY LEFTMARGIN="40">
<form runat="server">
<asp:adrotator
AdvertisementFile="AdRotatorBasic.xml"
Target="_blank"
BorderColor="blue"
BorderWidth=3
runat="server"
/>
</form>
</BODY>
</HTML>
<%--
<Advertisements>
<Ad>
<ImageUrl>http://www.java2s.com/style/logo.png</ImageUrl>
<NavigateUrl>http://www.java2s.com</NavigateUrl>
<AlternateText>Cick me now!</AlternateText>
<Impressions>71</Impressions>
</Ad>
<Ad>
<ImageUrl>http://www.java2s.com/style/logo.png</ImageUrl>
<NavigateUrl>http://www.microsoft.com</NavigateUrl>
<AlternateText>Go to Microsoft Site</AlternateText>
<Impressions>70</Impressions>
</Ad>
</Advertisements>
--%>
Related examples in the same category