2018年11月14日
摘要: 快速批量导入方法 SqlBulkCopy 1 public string InsertSqlBulkCopy(DataTable dt, string tableName, ref string errinfo) 2 { 3 if (dt.Rows.Count < 1) 4 { 5 return " 阅读全文
posted @ 2018-11-14 15:10 苏上话 阅读(2334) 评论(0) 推荐(1) 编辑
摘要: NPOI helper 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using NPOI.SS.UserModel; 6 using System.IO 阅读全文
posted @ 2018-11-14 15:02 苏上话 阅读(3160) 评论(0) 推荐(0) 编辑
摘要: 需要注意的地方 这里文件域 必须有 id 和name <input type="file" name="file1" id="file1" style="width: 300px" /> 需要引入的js ajaxfileupload.js 做过修改 1 var uploadHelper = { 2 阅读全文
posted @ 2018-11-14 14:27 苏上话 阅读(1882) 评论(0) 推荐(0) 编辑