06 2016 档案
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u
阅读全文
摘要:void gridView_CustomColumnDisplayText(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDisplayTextEventArgs e) { if (e.Column.FieldName == "G
阅读全文
摘要:byte[] b = (byte[])(read.Rows[0]["txt_filecontent"]);//获取二进制文件 ByteConvertWord(b, read.Rows[0]["txt_filename"].ToString(), read.Rows[0]["txt_file_type
阅读全文
摘要:for (int i = 0; i < list_file.Items.Count; i++)//文件总数 { FileInfo info = new FileInfo(filePath + "\\" + list_file.Items[i]); FileStream fs = new FileSt
阅读全文
摘要:有可能是由于timer已经被回收掉了 你是在什么环境下面winform? webform? 经过你的补充我看明白了 是这样的 由于你的应用程序在特定空闲时间之后相应的w3wp辅助进程会被回收掉 所以你的timer自然没有作用了 你可以查看iis 应用程序池的属性 切换到性能选项卡空闲超时 默认的时间
阅读全文
摘要:线程实现定时任务
阅读全文
摘要:遇到的问题:1、缓存到本地的文件写入一次,不能读取,不能二次写入。程序报异常:文件被占用 解决办法: FileStream fs = new FileStream(appPath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite); Strea
阅读全文

浙公网安备 33010602011771号