File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ XMl.xml
2
+ <?xml version =" 1.0" encoding =" utf-8" ?>
3
+ <Advertisements >
4
+ <Ad >
5
+ <ImageUrl >ITHEIT_logo_tr-bg.png</ImageUrl >
6
+ <NavigateUrl >https://www.google.com/</NavigateUrl >
7
+ <AlternateText >Logo</AlternateText >
8
+ <Impressions >1</Impressions >
9
+ <Keyword >ITheit</Keyword >
10
+ </Ad >
11
+
12
+ <Ad >
13
+ <ImageUrl >http://localhost:65424/Harsh Chaudhari-anime.jpg</ImageUrl >
14
+ <NavigateUrl >https://www.yahoo.com/</NavigateUrl >
15
+ <AlternateText >Anime Image</AlternateText >
16
+ <Impressions >10</Impressions >
17
+ <Keyword >IThet</Keyword >
18
+ </Ad >
19
+ </Advertisements >
20
+ adro.aspx
21
+ <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ad.aspx.cs" Inherits="ad" %>
22
+
23
+ <!DOCTYPE html >
24
+
25
+ <html xmlns =" http://www.w3.org/1999/xhtml" >
26
+ <head runat =" server" >
27
+ <title ></title >
28
+ </head >
29
+ <body >
30
+ <form id =" form1" runat =" server" >
31
+ <div >AD Rotator Example</div >
32
+ <asp : AdRotator ID =" AdRotator1" runat =" server" AdvertisementFile =" ~/XMLFile.xml" />
33
+ </form >
34
+ </body >
35
+ </html >
You can’t perform that action at this time.
0 commit comments