<asp:AdRotator AccessKey="string" AdvertisementFile="uri" AlternateTextField="string" BackColor="color name|#dddddd" BorderColor="color name|#dddddd" BorderStyle="NotSet|None|Dotted|Dashed|Solid|Double|Groove|Ridge| Inset|Outset" BorderWidth="size" CssClass="string" DataMember="string" DataSource="string" DataSourceID="string" Enabled="True|False" EnableTheming="True|False" EnableViewState="True|False" ForeColor="color name|#dddddd" Height="size" ID="string" ImageUrlField="string" KeywordFilter="string" NavigateUrlField="string" OnAdCreated="AdCreated event handler" OnDataBinding="DataBinding event handler" OnDataBound="DataBound event handler" OnDisposed="Disposed event handler" OnInit="Init event handler" OnLoad="Load event handler" OnPreRender="PreRender event handler" OnUnload="Unload event handler" runat="server" SkinID="string" Style="string" TabIndex="integer" Target="string|_blank|_parent|_search|_self|_top" ToolTip="string" Visible="True|False" Width="size" ></asp:AdRotator>
<%@ Page Language="C#" Debug="true" %> <html> <head> </head> <body> <form runat="server"> <asp:AdRotator id="AdRotator1" AdvertisementFile="ads.xml" BorderWidth="1" runat=server /> </form> </body> </html>
<Advertisements> <Ad> <ImageUrl>images/banner-001.gif</ImageUrl> <NavigateUrl>https://www.thaicreate.com</NavigateUrl> <AlternateText>Banner 1</AlternateText> <Keyword>Banner 1</Keyword> <Impressions>3</Impressions> </Ad> <Ad> <ImageUrl>images/banner-002.gif</ImageUrl> <NavigateUrl>https://www.thaicreate.com</NavigateUrl> <AlternateText>Banner 2</AlternateText> <Keyword>Banner 2</Keyword> <Impressions>80</Impressions> </Ad> <Ad> <ImageUrl>images/banner-003.gif</ImageUrl> <NavigateUrl>https://www.thaicreate.com</NavigateUrl> <AlternateText>Banner 3</AlternateText> <Keyword>Banner 3</Keyword> <Impressions>80</Impressions> </Ad> </Advertisements>
ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท