HJMinimally.Office
1.0.8
See the version list below for details.
dotnet add package HJMinimally.Office --version 1.0.8
NuGet\Install-Package HJMinimally.Office -Version 1.0.8
<PackageReference Include="HJMinimally.Office" Version="1.0.8" />
paket add HJMinimally.Office --version 1.0.8
#r "nuget: HJMinimally.Office, 1.0.8"
// Install HJMinimally.Office as a Cake Addin #addin nuget:?package=HJMinimally.Office&version=1.0.8 // Install HJMinimally.Office as a Cake Tool #tool nuget:?package=HJMinimally.Office&version=1.0.8
针对excel导入优化了对单元格进行判断取值为空问题
重新引用DotNetCore.NPOI组件
1.0.5
ExcelImport(Stream fileStream, string strFileName)
增加导入excel时,直接读取数据流,不需要在服务端保存文件到本地;
1.0.6
ExcelImport(Stream fileStream, string strFileName, int rowIndex)
增加导入excel是,直接读取数据流,可以表头为第几行;
1.0.7
增加导出excel方法。
/// <summary>
/// DataTable导出到Excel的MemoryStream Export()
/// </summary>
/// <param name="data">key:数据存放的Sheet;value:数据</param>
/// <param name="excelConfig">导出设置包含文件名、标题、列设置</param>
/// <param name="maxSheet">最大sheet数</param>
MemoryStream ExportMemoryStream(List<ExportMemoryStreamMode> data, ExcelConfig excelConfig, int maxSheet = 10)
1.0.8
优化导出excel接口。
MemoryStream ExportMemoryStream(List<ExportMemoryStreamMode> data, ExcelConfig excelConfig, int maxSheet = 10)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.2
- DotNetCore.NPOI (>= 1.2.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.