NPOI根据Excel模板生成原生的Excel文件实例

上传者: downmoon | 上传时间: 2025-12-30 13:40:02 | 文件大小: 922KB | 文件类型: RAR
上周完成了一个报表小项目,使用开源组件NPOI作为主要组件。之所以采用第三方的开源组件而不使用COM或微软提供的API,原因就不多说了,大家懂的。 在此分享NPOI的一个应用,利用Excel模板生成excel文件。这正是NPOI强于Myxls之处。

文件下载

资源详情

[{"title":"( 48 个子文件 922KB ) NPOI根据Excel模板生成原生的Excel文件实例","children":[{"title":"NPOIDemo","children":[{"title":"Site.Master.cs <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"Global.asax.cs <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"Web.Debug.config <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"Scripts","children":[{"title":"jquery-1.4.1.min.js <span style='color:#111;'> 70.24KB </span>","children":null,"spread":false},{"title":"jquery-1.4.1.js <span style='color:#111;'> 164.84KB </span>","children":null,"spread":false},{"title":"jquery-1.4.1-vsdoc.js <span style='color:#111;'> 237.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"Global.asax <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"NPOI.HPSF.dll <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"NPOI.POIFS.dll <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"NPOI.HSSF.dll <span style='color:#111;'> 942.00KB </span>","children":null,"spread":false},{"title":"NPOI.Util.dll <span style='color:#111;'> 38.50KB </span>","children":null,"spread":false},{"title":"NPOI.DDF.dll <span style='color:#111;'> 90.00KB </span>","children":null,"spread":false},{"title":"NPOI.dll <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"NPOIDemo.dll <span style='color:#111;'> 20.50KB </span>","children":null,"spread":false},{"title":"NPOIDemo.pdb <span style='color:#111;'> 61.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Web.config <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 20.09KB </span>","children":null,"spread":false},{"title":"NPOIDemo.csproj.FileListAbsolute.txt <span style='color:#111;'> 653B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.86KB </span>","children":null,"spread":false},{"title":"NPOIDemo.dll <span style='color:#111;'> 20.50KB </span>","children":null,"spread":false},{"title":"NPOIDemo.pdb <span style='color:#111;'> 61.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true},{"title":"NPOIDemo.csproj <span style='color:#111;'> 7.24KB </span>","children":null,"spread":false},{"title":"Util","children":[{"title":"Data","children":[{"title":"SqlHelper.cs <span style='color:#111;'> 47.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"BasePage.cs <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"Globals.cs <span style='color:#111;'> 5.77KB </span>","children":null,"spread":false},{"title":"Excel","children":[{"title":"ExcelHelper.cs <span style='color:#111;'> 10.71KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Config","children":[{"title":"Templete","children":[{"title":"Template_TradeReport.xls <span style='color:#111;'> 26.00KB </span>","children":null,"spread":false},{"title":"Template_TradeReport - 复制.xls <span style='color:#111;'> 26.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Styles","children":[{"title":"Site.css <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"App_Data","children":null,"spread":false},{"title":"Default.aspx <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"Default.aspx.cs <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"NPOIDemo.csproj.user <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"About.aspx <span style='color:#111;'> 441B </span>","children":null,"spread":false},{"title":"Default.aspx.designer.cs <span style='color:#111;'> 782B </span>","children":null,"spread":false},{"title":"About.aspx.designer.cs <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"Site.Master <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"About.aspx.cs <span style='color:#111;'> 329B </span>","children":null,"spread":false},{"title":"Web.Release.config <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"dlls","children":[{"title":"NPOI.HPSF.dll <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"NPOI.POIFS.dll <span style='color:#111;'> 48.50KB </span>","children":null,"spread":false},{"title":"NPOI.HSSF.dll <span style='color:#111;'> 942.00KB </span>","children":null,"spread":false},{"title":"NPOI.Util.dll <span style='color:#111;'> 38.50KB </span>","children":null,"spread":false},{"title":"NPOI.DDF.dll <span style='color:#111;'> 90.00KB </span>","children":null,"spread":false},{"title":"NPOI.dll <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"Site.Master.designer.cs <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false}],"spread":false},{"title":"NPOIDemoAll.suo <span style='color:#111;'> 28.00KB </span>","children":null,"spread":false},{"title":"NPOIDemoAll.sln <span style='color:#111;'> 914B </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明