mirror of
https://gitee.com/dotnetchina/MiniExcel.git
synced 2024-11-29 18:38:08 +08:00
0.0.6-beta
This commit is contained in:
parent
b5a1fd91c1
commit
9a5db9e67a
@ -54,7 +54,7 @@ using (var stream = File.OpenRead(path))
|
||||
### Create Excel Xlsx file by ICollection Anonymous Type/Datatable
|
||||
```C#
|
||||
var path = Path.Combine(Path.GetTempPath(), $"{Guid.NewGuid()}.xlsx");
|
||||
MiniExcel.Create(path, new[] {
|
||||
MiniExcel.SaveAs(path, new[] {
|
||||
new { Column1 = "MiniExcel", Column2 = 1 },
|
||||
new { Column1 = "Github", Column2 = 2}
|
||||
});
|
||||
@ -71,7 +71,7 @@ var table = new DataTable();
|
||||
table.Rows.Add("Github", 2);
|
||||
}
|
||||
|
||||
MiniExcel.Create(path, table);
|
||||
MiniExcel.SaveAs(path, table);
|
||||
```
|
||||
|
||||
Create File Result :
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
## Release Notes
|
||||
|
||||
### 0.0.6-beta
|
||||
- [Breaking Changes]Replace Create by SavaAs
|
||||
|
||||
### 0.0.5-beta
|
||||
- Release remove `assembly: InternalsVisibleTo`
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
<RepositoryUrl>https://github.com/shps951023/MiniExcel</RepositoryUrl>
|
||||
<PackageIconUrl>https://raw.githubusercontent.com/shps951023/ImageHosting/master/img/2019-01-17.13.18.32-image.png</PackageIconUrl>
|
||||
<TargetFrameworks>net461;netstandard2.0;net5.0</TargetFrameworks>
|
||||
<Version>0.0.5-beta</Version>
|
||||
<Version>0.0.6-beta</Version>
|
||||
<PackageReleaseNotes>Please Check [Release Notes](https://github.com/shps951023/MiniExcel/tree/master/docs)</PackageReleaseNotes>
|
||||
<RepositoryType>Github</RepositoryType>
|
||||
</PropertyGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user