Magicodes.IE.Html
导入导出通用库,通过导入导出DTO模型来控制导入和导出,支持Excel、Word、Csv、Pdf和Html以及动态导出。 开源库地址:https://github.com/xin-lai 博客地址:http://www.cnblogs.com/codelove/ 交流QQ群:85318032 **2020.06.16** - ** 【Nuget】版本更新到2.2.6** - ** 【HTML导出】添加对NETCore2.2模板引擎的支持 **2020.06.14** - ** 【Nuget】版本更新到2.2.5** - ** 【Excel导出】增加分栏、分sheet、追加rows导出 [#74](https://github.com/dotnetcore/Magicodes.IE/issues/74)** - exporter.Append(list1).SeparateByColumn().Append(list2).ExportAppendData(filePath); - exporter.Append(list1).SeparateBySheet().Append(list2).ExportAppendData(filePath); - exporter.Append(list1).SeparateByRow().AppendHeaders().Append(list2).ExportAppendData(filePath); - ** [Excel导出】修复‘IsAllowRepeat=true’ [#107](https://github.com/dotnetcore/Magicodes.IE/issues/107) ** - ** [Pdf导出】增加PDF扩展方法,支持通过以参数形式传递特性参数 [#104](https://github.com/dotnetcore/Magicodes.IE/issues/104) ** - `ExportListBytesByTemplate<T>(ICollection<T> data, PdfExporterAttribute pdfExporterAttribute,string temple);` - `ExportBytesByTemplate<T>(T data, PdfExporterAttribute pdfExporterAttribute,string template);` **2020.06.07** - ** 【Nuget】版本更新到2.2.4** - ** 【Excel导入】增加`导入失败`仅返回错误行功能** - ** 【Excel导入】修复导入的空行标注位置偏移** - ** 【Excel导出】增加`SeparateByColumn`进行分割追加列**
Install
dotnet add package Magicodes.IE.Html --version 2.2.6
Install-Package Magicodes.IE.Html -Version 2.2.6
<PackageReference Include="Magicodes.IE.Html" Version="2.2.6" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.