.net利用Timer和Global.asax实现定时执行程序C#
摘要:public class TestTimer { //TimerCallback 委托,GlobalTimer_ToDo表示要执行的方法 public static Timer GlobalTimer = new Timer(new TimerCallback(GlobalTimer_ToDo), null, Timeout.Infinite, Timeout.Infinite); /*也可...
阅读全文
posted @
2010-06-13 15:17
酷&酷
阅读(1340)
推荐(0)
字段数据采集代码分享
摘要:好久没来博客园发帖啦!先附上图:代码分享如下:public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { dt.Rows.Clear(); //要抓取的URL地址 string Url = ...
阅读全文
posted @
2010-06-13 10:11
酷&酷
阅读(1214)
推荐(0)