xss.FilesHandler
1.2.0
This package supports exporting files in csv and excel.
supports datatables, List <Datatables> and List <T>.
You only need to install the package and use it in this way according to the enum that is sent export excel or csv.
Add Ftp
IFileHandler fileHandlerservice = FileHandlerFactory.GetFileInstance ((Int16) EnumFile.csv);
fileHandlerservice.Export (dt, Response, title);
title = only the name of the report, without extension.
See the version list below for details.
Install-Package xss.FilesHandler -Version 1.2.0
dotnet add package xss.FilesHandler --version 1.2.0
<PackageReference Include="xss.FilesHandler" Version="1.2.0" />
paket add xss.FilesHandler --version 1.2.0
#r "nuget: xss.FilesHandler, 1.2.0"
Release Notes
Current methods:
Csv:
CreateCSVFromDataTable
Excel:
ToExcelXListDataTable
ToExcelXL
New "Export" feature:
using xss.FilesHandler. *;
Deprecated Method
IFileHandler fileHandlerservice = FileHandlerFactory.GetFileInstance ((Int16) EnumFile.csv);
fileHandlerservice.Export (dataTable, response, "test.csv");
New Method
IFileHandler fileHandlerservice = FileHandlerFactory.GetFileInstance ((Int16) EnumFile.csv);
fileHandlerservice.Export (dataTable, response, "test",true);
Header=true, with header
Header=false , without header
Dependencies
-
.NETFramework 4.7.2
- ClosedXML (>= 0.94.2)
- Renci.SshNet.Async (>= 1.3.0)
- xss.Logger (>= 2.1.5)
Used By
NuGet packages (50)
Showing the top 5 NuGet packages that depend on xss.FilesHandler:
| Package | Downloads |
|---|---|
|
xss.AutoshipFrontend
Autoship front end forms
|
|
|
xss.PromoCodeFrontEnd
Pacakge PromoCode FrontEnd
|
|
|
xss.ReportEngine
Package Description
|
|
|
xss.ProductEntryFrontEnd
Contains the features of Products
|
|
|
xss.ShoppingCartFrontEnd
Controls of the shopping cart
|
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.1.2 | 77 | 10/28/2021 |
| 2.1.1 | 101 | 6/17/2021 |
| 2.1.1-Gamma | 5 | 6/9/2021 |
| 2.1.1-Beta | 8 | 5/26/2021 |
| 2.1.1-Alpha | 1 | 5/25/2021 |
| 2.1.0 | 141 | 2/2/2021 |
| 2.0.0 | 270 | 10/30/2020 |
| 1.2.5.10 | 157 | 4/16/2020 |
| 1.2.5.9 | 63 | 1/16/2020 |
| 1.2.5.6 | 40 | 12/11/2019 |
| 1.2.5.5 | 109 | 11/7/2019 |
| 1.2.5.5-alpha | 0 | 11/13/2019 |
| 1.2.5.4 | 4 | 10/7/2019 |
| 1.2.5.3 | 5 | 9/23/2019 |
| 1.2.5.2 | 26 | 9/23/2019 |
| 1.2.5.1 | 0 | 9/16/2019 |
| 1.2.5 | 2 | 9/6/2019 |
| 1.2.4 | 20 | 7/1/2019 |
| 1.2.3 | 2 | 5/2/2019 |
| 1.2.2 | 0 | 5/2/2019 |
| 1.2.1 | 6 | 4/24/2019 |
| 1.2.0 | 8 | 4/10/2019 |
| 1.0.9 | 0 | 4/9/2019 |
| 1.0.8 | 0 | 4/9/2019 |
| 1.0.7 | 0 | 3/28/2019 |
| 1.0.6 | 0 | 3/26/2019 |
| 1.0.5 | 0 | 3/26/2019 |
| 1.0.5-alpha | 0 | 3/26/2019 |
| 1.0.4 | 0 | 3/25/2019 |
| 1.0.3 | 0 | 3/25/2019 |
| 1.0.2 | 0 | 3/22/2019 |