Asp.Net News
Free Tech Magazines
Asp.Net Web Hosting
Suggest Us
Link to Us
Feeds Subscription
Questions & Answers
Tips & Tricks
Posted by Rajkumar Singh on  2/23/2009 1:22:28 AM Category: Asp.Net 2.0
Add to my favorites
Email to friend
how can we scroll image using adrotater in, c#

Post Your Reply Post New Question

 Viewer's Reply
Adrotator in C#
Answered By Kunwar on 3/4/2009 3:44:45 AM
You will get a detailed tutorial here

How to Use AdRotator
Answered By Shweta Kulkarni on 3/19/2009 8:18:19 AM
1.Create XML File in your working directory and Write following code in that file where you can set your own details of images and links.
<Advertisements >
<AlternateText> Sample2</AlternateText>

2.Save the file.

3.Drag and drop AdRotator control on web page.

4 you can either set advertisement file that is xml file or you can use xml data source file which is connected to xml file placed somewhere else.

E.g Set AdvertisementFile property
<asp:AdRotator ID="AdRotator1" runat="server" AdvertisementFile="~/MyAdd.xml" />
using advertisement file.

Or Using XML as Data Source.

Set the DataSourceID property
<asp:AdRotator ID="AdRotator1" runat="server" DataSourceID="XmlDataSource1" />
<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/MyAdd.xml"></asp:XmlDataSource>

Or else you can use any other data source to bind data to this control
Post Your Reply If you still have problem, post it again under this reply for better response.

Sponsored by
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Take Advantage of Oracle's 2 Day DBA Course
Introduction to Software Development