hi.
I have used an adrotator control for showing advertisement that stored in my db in my asp.net web site according to bellow code:
<div>
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" Interval="2000" ontick="Timer1_Tick" >
</asp:Timer>
...
Go to the complete details ...