摘要: byte[] b = (byte[])(read.Rows[0]["txt_filecontent"]);//获取二进制文件 ByteConvertWord(b, read.Rows[0]["txt_filename"].ToString(), read.Rows[0]["txt_file_type 阅读全文
posted @ 2016-06-14 09:07 吃葡萄不吐葡萄脾 阅读(976) 评论(0) 推荐(0) 编辑
摘要: for (int i = 0; i < list_file.Items.Count; i++)//文件总数 { FileInfo info = new FileInfo(filePath + "\\" + list_file.Items[i]); FileStream fs = new FileSt 阅读全文
posted @ 2016-06-14 09:04 吃葡萄不吐葡萄脾 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 有可能是由于timer已经被回收掉了 你是在什么环境下面winform? webform? 经过你的补充我看明白了 是这样的 由于你的应用程序在特定空闲时间之后相应的w3wp辅助进程会被回收掉 所以你的timer自然没有作用了 你可以查看iis 应用程序池的属性 切换到性能选项卡空闲超时 默认的时间 阅读全文
posted @ 2016-06-14 07:53 吃葡萄不吐葡萄脾 阅读(280) 评论(0) 推荐(0) 编辑