<asp:Timer ID="Timer1" runat="server" ontick="Timer1_Tick" Interval="10000" > <!--we have to put 24*60*60*1000=86400000 milli-seconds for one day--> </asp:Timer> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager></pre>
DispatcherTimer t=new DispatcherTimer(); //t.Interval=new Timespan(Hours,Minutes,Seconds); //Suppose you want to set for a day then write t.Interval=new Timespan(24,0,0); t.Start();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)