IGeneration.Export 1.0.1

This is My Created Library Project to take Easy Export To Excel And PDF from DataTable Type of Data.

I Use Pdfrpt.Core Depedecies , Thanks to All Contribute for PdfRpt.Core Depedencies.

I wish my Library can help you work and code.

Regards,

IGeneration
| Learn To Be Better And Better |

Install-Package IGeneration.Export -Version 1.0.1
dotnet add package IGeneration.Export --version 1.0.1
<PackageReference Include="IGeneration.Export" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IGeneration.Export --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Complete Sample Code , Coming Soon....

this is a liitle sample code...

public FileContentResult ExportExcel(int CategoryID, string BizName)
{
//Example Code
ExportToExcel Excel = new ExportToExcel(); // Declare My Package
BizSearchViewModel search = new BizSearchViewModel();

search.CategoryID = CategoryID;
search.BizName = BizName;
search.Ascending = true;
search.OrderBy = "";
search.Page = 1;
search.PageSize = 50;
search.Status = 255;

var dataList = _IBizService.ExportListGridBizSearch(search);

var FileName = Guid.NewGuid().ToString();

var filecontent = Excel.Export(dataList, "BizTemp"); // Process Convert Datatable to byte[] and Saved in Memory Stream from my package
return File(filecontent, "application/ms-excel", FileName + ".xlsx"); // Show the Download dialog or Direct Downloading in chrome
}

Complete Sample Code , Coming Soon....

this is a liitle sample code...

public FileContentResult ExportExcel(int CategoryID, string BizName)
{
//Example Code
ExportToExcel Excel = new ExportToExcel(); // Declare My Package
BizSearchViewModel search = new BizSearchViewModel();

search.CategoryID = CategoryID;
search.BizName = BizName;
search.Ascending = true;
search.OrderBy = "";
search.Page = 1;
search.PageSize = 50;
search.Status = 255;

var dataList = _IBizService.ExportListGridBizSearch(search);

var FileName = Guid.NewGuid().ToString();

var filecontent = Excel.Export(dataList, "BizTemp"); // Process Convert Datatable to byte[] and Saved in Memory Stream from my package
return File(filecontent, "application/ms-excel", FileName + ".xlsx"); // Show the Download dialog or Direct Downloading in chrome
}

Release Notes

This Package can be work on .NET Core 2.0

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 352 4/3/2018
1.0.0 270 4/3/2018