In this article I am going to explain how to show ads without
page refresh using Sql server database in asp.net Adrotator control.
Description:
Adrotator control is used to show custom Ads (advertisements)
on asp.net build websites. When users click on any ad they will be redirect to link
assign for that. We can use both Xml and database as data source. Xml and database
table must have following properties and columns: ImageUrl, NavigateUrl, AlternateText,
Impressions, Keyword, Width and Height.
Implementations:
In this example I am going to use sql server database as
adrotator data source. I have create a table Ads and insert some dummy records into it. To show ads without page
refresh I am going to use Updatepanel and Timer control.
Complete source of webform