06 2016 档案

摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2016-06-29 14:27 吃葡萄不吐葡萄脾 阅读(409) 评论(0) 推荐(0)
摘要:void gridView_CustomColumnDisplayText(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDisplayTextEventArgs e) { if (e.Column.FieldName == "G 阅读全文
posted @ 2016-06-27 14:49 吃葡萄不吐葡萄脾 阅读(1190) 评论(0) 推荐(0)
摘要:dev 显示行号 阅读全文
posted @ 2016-06-27 14:47 吃葡萄不吐葡萄脾 阅读(243) 评论(0) 推荐(0)
摘要: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 吃葡萄不吐葡萄脾 阅读(994) 评论(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 吃葡萄不吐葡萄脾 阅读(216) 评论(0) 推荐(0)
摘要:有可能是由于timer已经被回收掉了 你是在什么环境下面winform? webform? 经过你的补充我看明白了 是这样的 由于你的应用程序在特定空闲时间之后相应的w3wp辅助进程会被回收掉 所以你的timer自然没有作用了 你可以查看iis 应用程序池的属性 切换到性能选项卡空闲超时 默认的时间 阅读全文
posted @ 2016-06-14 07:53 吃葡萄不吐葡萄脾 阅读(291) 评论(0) 推荐(0)
摘要:遇到的问题:1、缓存到本地的文件写入一次,不能读取,不能二次写入。程序报异常:文件被占用 解决办法: FileStream fs = new FileStream(appPath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); Strea 阅读全文
posted @ 2016-06-13 11:35 吃葡萄不吐葡萄脾 阅读(2050) 评论(0) 推荐(0)