摘要: 本人最近在做一个基于Access数据库的Web应用程序,为了实现一个定时更新数据库的需求,我在Global.asax中的Application_Start函数里写了个计时器, void Application_Start(object sender, EventArgs e) { // 在应用程序启动时运行的代码 System.Timers.Timer atimer = new System.Timers.Timer(60000); atimer.Elapsed += timer_execute; atimer.AutoRes... 阅读全文
posted @ 2013-10-25 16:29 大神老姜 阅读(985) 评论(1) 推荐(0) 编辑