NPOI C# 调用导出xlsx文件
2021-10-01 14:03:44 518KB NPOI c#
1
NPOI C# 调用导出xlsx文件
2021-10-01 14:03:44 88KB NPOI c#
1
NPOI C# 调用导出xlsx文件
2021-10-01 14:03:43 1.98MB NPOI C#
1
NPOI C# 调用导出xlsx文件
2021-10-01 14:03:43 1.11MB NPOI c#
1
里面是我收集的几个NPOI动态库: 1)NPOI.dll; 2)NPOI.POIFS.dll; 3)NPOI.HSSF.dll; 4)NPOI.Util.dll 已验证可以使用,官网下载的只有2个,我好不容易收集全,已经验证可以使用。 如果命名空间错误,尝试用新版本的命名办法,前后区别大家自己体会。过一段时间我把自己代码贴出来
2021-09-28 10:29:39 3.52MB C# dll npoi word
1
npoi 2.0 适用于.netframework 2.0,下载后dll引入后使用
2021-09-27 15:14:02 1.14MB npoi2.0 npoi 2.0
1
private void ToExcel(HttpContext context, string TempletFileName//模版文件, string ReportFileName//导出文件, DataTable dt2) { //模板文件 //string TempletFileName = context.Server.MapPath(TempletFileName); //导出文件 //string ReportFileName = context.Server.MapPath("out.xls"); FileStream file = new FileStream(TempletFileName, FileMode.Open, FileAccess.Read); HSSFWorkbook hssfworkbook = new HSSFWorkbook(file); //XSSFWorkbook hssfworkbook = new XSSFWorkbook(file); //HSSFSheet ws = (HSSFSheet)hssfworkbook.GetSheetAt(0);//GetSheet("Sheet1"); HSSFSheet ws2 = null; int rowsCount = dt2.Rows.Count; int columnCount = dt2.Columns.Count; int num = 60000; int row = 0; if (rowsCount > 0) { int sheetCount = rowsCount > num ? (int)Math.Ceiling((double)(rowsCount / num)) : 0; for (int i = 0; i rowsCount - (num * i) ? rowsCount : (i + 1) * num; NPOI.SS.UserModel.IRow row1 = null; for (int j = strRows; j < endRows; j++) { row++; int m = 0; if (i == 0) { m = 4; } row1 = ws2.CreateRow(row + m); row1.HeightInPoints = 25;//行高 for (int k = 0; k < columnCount; k++) {
2021-09-24 10:16:34 2KB npoi
1
NPOI dll文件,兼容.net 4.0到.net .4.5.1 的版本,亲测可用,童叟无欺。
2021-09-23 16:01:13 1.11MB NPOI .net 4.5.1 4.0
1
NOPI.dll; NPOI.OOXML.dll; NPOI.OpenXml4Net.dll; NPOI.OpenXmlFormats.dll; ICSharpCode.SharpZipLib.dll
2021-09-22 18:23:56 1.41MB NPOI EXCEL WORD C#
1
NPOI_2.5.1._最新 C# 读写Excel文件,在使用的需要导入SharpZipLib文件中程序集ICSharpCode.SharpZipLib.dll
2021-09-20 14:26:35 16.83MB c# excel
1