摘要: 第一步:新建一个Windows服务添加Microsoft SQLDMO Object Library引用使用Timer定时publicpartialclassService1:ServiceBase{Timertimer1=newTimer();publicService1(){InitializeComponent();timer1.Interval=60000;//3600000;timer1.Enabled=true;timer1.Elapsed+=newSystem.Timers.ElapsedEventHandler(timer1_Tick);}protectedoverridevo 阅读全文
posted @ 2011-10-25 12:32 会飞的剑 阅读(348) 评论(0) 推荐(0) 编辑