ASP.NET通过Global.asax和Timer定时器 定时调用WebService 运行后台代码
摘要:ASP.NET通过Global.asax和Timer定时器 定时调用WebService 运行后台代码 效果: 通过在网站的Global.asax的Application_Start方法中 加入定时器 定时调用WebService 该WebService的一个方法 负责在后台 向数据库的某个表加入数据 步骤: 1.通过VS 新建一个网站 2.加入Global.asax 3.加入WebServi...
阅读全文
对DataSet的序列化,压缩与解压
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->public byte[] GetDataSetSurrogateZipBytes()//压缩 { DataSet DS = GetDataSet(); ...
阅读全文
.net中xml基本操作
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->一.添加数据: public bool AddArticle(string NewsTitle, string NewsContent, string NewsClassID) { ...
阅读全文