asp:adrotator with a calendar ( : Adrotator « Asp Control « ASP.Net

asp:adrotator with a calendar (

<%@ Page Language="vb" %>
   <title>Rich Control Example</title>
   <script runat="server">
      Sub Page_Load()
         MyAdRotator.KeywordFilter = "Nutshell"
         Dim ShortDate As String
         ShortDate = MyCalendar.TodaysDate.ToString("D")
         MyLabel.Text = "Today is " & ShortDate
      End Sub
   <h1>Rich Control Example</h1>
   <form runat="server">
      <asp:table id="MyTable" border="1" cellpadding="5" cellspacing="0" runat="server">
         <asp:tablerow runat="server">
            <asp:tablecell runat="server">
               AdRotator Control:
            <asp:tablecell runat="server">
               <asp:adrotator id="MyAdRotator" advertisementfile="bannerads.xml" runat=server/>
         <asp:tablerow runat="server">
            <asp:tablecell runat="server">
               Calendar Control:
            <asp:tablecell runat="server">
               <asp:calendar id="MyCalendar" 
      <asp:label id="MyLabel" runat="server"/>


Related examples in the same category

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