日期:2014-05-19  浏览次数:20449 次

【▲】怎么让Timer控件每5分钟触发一次事件
ASP.NET   AJAX   里的Timer控件,怎么让其控件每5分钟触发一次事件,求助!

------解决方案--------------------
<asp:Timer ID= "Timer1 " runat= "server " Interval= "300000 " OnTick= "Timer1_Tick ">
</asp:Timer>

protected void Timer1_Tick(object sender, EventArgs e)
{
在这里写代码
}
------解决方案--------------------
http://www.cnblogs.com/Terrylee/archive/2006/11/14/Introduction_to_the_Timer_Control.html
上面有用法自己看