Using a Basic AdRotator Control (VB.net) : Adrotator « Asp Control « ASP.Net






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

1.On ad create event for asp:adrotator (VB.net)
2.Using a Custom Tag in an AdRotator Control (VB.net)
3.Using a Keyword AdRotator Control (VB.net)
4.asp:adrotator with a calendar (VB.net)
5.asp:adrotator and its xml (VB.net)
6.Custom asp:AdRotator create event (C#)