Magicodes.IE.Html
导入导出通用库,通过导入导出DTO模型来控制导入和导出,支持Excel、Word、Csv、Pdf和Html以及动态导出。 开源库地址:https://github.com/xin-lai 博客地址:http://www.cnblogs.com/codelove/ 交流QQ群:85318032 **2020.06.22** - ** 【Nuget】版本更新到2.3.0-beta1** - ** 【Excel导出】添加对Excel模板导出函数的支持 - {{Formula::AVERAGE?params=G4:G6}} **2020.06.17** - ** 【Nuget】版本更新到2.2.7** - ** 【HTML导出】添加对NETCore2.2模板引擎的支持 **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);`
Install
dotnet add package Magicodes.IE.Html --version 2.3.0-beta1
Install-Package Magicodes.IE.Html -Version 2.3.0-beta1
<PackageReference Include="Magicodes.IE.Html" Version="2.3.0-beta1" />
Frameworks
Dependencies
Adoption guide
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
This version is marked prerelease. Validate its API and upgrade path before production use.
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.