The frequency of a particular ad displaying on a page can be configured using the Impressions property and ads can be filtered using keyword filtering.Ad Rotator controls use either an XML file or a table in a database for data.To data bind a list control, add a data source control to the page.Specify a SELECT command for the data source control and then set the Data Source ID property of the list control to the ID of the data source control.They use one field in the data source as the display text and can optionally use a second field as the value of an item.Items can also be added statically at design-time, and you can mix static items and dynamic items added from a data source.The following code snippet sets the Image Url, Navigate Url, and Alternate Text for an ad programmatically: List controls include the List Box, Drop Down List, Check Box List, Radio Button List, and Bulleted List.
The following controls are some of the controls that derive from Data Bound Control.
To display the data from the database in the Ad Rotator control, add a data source control to the page, configure the connection string for the data source control to point to your database, and set the Ad Rotator control's Data Source ID property to the ID of the data source control.
In cases where you have a need to configure Ad Rotator ads programmatically, use the Ad Created event.
The maximum value of the collective impressions for all ads in an XML file is 2,048,000,000 1. NET Web site because of the value for the Impressions attribute.
To display ads from the above XML file, add an Ad Rotator control to a page and set the Advertisement File property to point to the XML file as shown below: The text displayed if the image cannot be found.