system.timers.time的问题
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Code that runs on application startup
Application.Lock()
Application("visitorNos") = 0
Application.UnLock()
Dim theTimer As Timer = New Timer()
theTimer.Enabled = True
theTimer.Interval = 5000
theTimer.AutoReset = True
theTimer.Elapsed += New ElapsedEventHandler(thetimer_elapsed) '这段有虚线,明显不对 要怎么做?
theTimer.Start()
End Sub
Private Sub thetimer_elapsed(ByVal sender As Object, ByVal e As ElapsedEventArgs)
End Sub --------------------编程问答-------------------- 楼主你想问题什么?
还有就是web applicatoin你用时间器有什么用? --------------------编程问答-------------------- 想要自动更新数据库,比如已经过期的就更新某个字段
补充:.NET技术 , ASP.NET