working with Adrotator in asp.net -
How to work with Adrator? I have placed an adrotter in my web application, so I have no idea from here. Please help me.
See
You should create an XML file like this
& lt; Advertising & gt; & Lt; Advertising & gt; & Lt; ImageUrl & gt; Site1img1.jpg & lt; / ImageUrl & gt; & Lt; NavigateUrl & gt; Http: //www.site1.com< / NavigateUrl & gt; & Lt; Optional text & gt; Site 1 main & lt; / Optional Text & gt; & Lt; Impressions & gt; 50 & lt; / Impressions & gt; & Lt; Keyword & gt; Product 1 & lt; / Keyword & gt; & Lt; / Ads & gt; & Lt; Advertising & gt; & Lt; ImageUrl & gt; Site2img2.jpg & lt; / ImageUrl & gt; & Lt; NavigateUrl & gt; Http: //www.site2.com< / NavigateUrl & gt; & Lt; Optional text & gt; Site 2 home page & lt; / Optional Text & gt; & Lt; Impressions & gt; 75 & lt; / Impressions & gt; & Lt; Keyword & gt; PRODUCT2 & lt; / Keyword & gt; & Lt; / Ads & gt; & Lt; / Ads & gt;
and add an adrotator to your page like this
& amp; Asp: AdRotator id = "AdRotator1" target = "_ self" adfile = "myXmlFile.xml" runat = "server" />
Comments
Post a Comment