2014年5月15日
摘要: 读取一个Excel 的多个 Sheet 并放到一个 DataSet 里。 当写 byte[] 时,要使用 ms.ToArray(); 而不要使用 ms.GetBuffer(); 前者虽然稍慢,但不会在 Excel 文件中形成很多空字节。 阅读全文
posted @ 2014-05-15 18:13 z5337 阅读(270) 评论(0) 推荐(0) 编辑
  2014年5月13日
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Text; 4 using System.IO; 5 using System.Diagnostics; 6 7 namespace Utility... 阅读全文
posted @ 2014-05-13 10:51 z5337 阅读(332) 评论(0) 推荐(0) 编辑
  2014年5月9日
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; ... 阅读全文
posted @ 2014-05-09 09:29 z5337 阅读(170) 评论(0) 推荐(0) 编辑
  2014年5月8日
摘要: 关于vs2005、vs2008和vs2010项目互转的总结分类:Asp.Net2010-11-16 16:5918239人阅读评论(12)收藏举报2010.net框架编译器有做.net的程序员和朋友曾经问过我,关于vs2005和vs2008、vs2008和vs2010、vs2005和vs2010项目... 阅读全文
posted @ 2014-05-08 15:12 z5337 阅读(177) 评论(0) 推荐(0) 编辑
  2014年5月4日
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
posted @ 2014-05-04 15:48 z5337 阅读(239) 评论(0) 推荐(0) 编辑
  2014年5月2日
摘要: public partial class PanelX : UserControl { private Point oldXY; //private static PanelX instance; //public DataRow dr = null... 阅读全文
posted @ 2014-05-02 16:06 z5337 阅读(192) 评论(0) 推荐(0) 编辑
  2014年4月30日
摘要: C# 安装布署 及Windows服务自动启动分类:asp.net2009-09-23 10:431126人阅读评论(0)收藏举报windowsc#serviceobject服务器设置serviceProcessInstaller1控件的Account属性为“LocalSystem”设置service... 阅读全文
posted @ 2014-04-30 09:18 z5337 阅读(217) 评论(0) 推荐(0) 编辑
  2014年4月29日
摘要: http://hi.baidu.com/zzy382/item/a5b197f97a38e01ba7298832 之前电脑上安装了一个 Oracle 有一段时间没用,就把密码给忘了,按上面链接里的操作,重置密码成功,步骤如下: connect system/oracle以 system 用户 ora 阅读全文
posted @ 2014-04-29 22:06 z5337 阅读(246) 评论(0) 推荐(0) 编辑
  2014年4月25日
摘要: 虽说 XML 文件越发流行,但精简的 ini 配置文件还是经常会用到,在此留个脚印。当然,文中只是调用系统API,不会报错,如有必要,也可以直接以流形式读取 ini文件并解析。 /// /// 调用系统API 读写 ini 配置文件 /// public class RW... 阅读全文
posted @ 2014-04-25 17:56 z5337 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 转自 百度知道C# 读写 ini配置文件 点此链接'API 声明Public Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationNa... 阅读全文
posted @ 2014-04-25 17:53 z5337 阅读(546) 评论(0) 推荐(0) 编辑