摘要: #region 导出excel /// <summary> /// 把数据插入到Excel表中 /// </summary> /// <param name="sql">Sql语句</param> /// <param name="Tablename">sheet名或者表名</param> /// <returns></returns> public void InsertDataToExcel() { #region Excel进程ID存储 ... 阅读全文
posted @ 2013-05-31 20:52 王洪洪 阅读(532) 评论(0) 推荐(0) 编辑
摘要: private static object sign = new object(); public static DBHelper CreateMapping(string connStr = "") { DBHelper db = new DBHelper(connStr); return db; } /// <summary> /// 增删改的数据库连接字符串 /// </summary> string conString = ""; ... 阅读全文
posted @ 2013-05-31 20:42 王洪洪 阅读(1668) 评论(0) 推荐(0) 编辑