CSVtoHTMLConverter 1.0.0
dotnet add package CSVtoHTMLConverter --version 1.0.0
NuGet\Install-Package CSVtoHTMLConverter -Version 1.0.0
<PackageReference Include="CSVtoHTMLConverter" Version="1.0.0" />
<PackageVersion Include="CSVtoHTMLConverter" Version="1.0.0" />
<PackageReference Include="CSVtoHTMLConverter" />
paket add CSVtoHTMLConverter --version 1.0.0
#r "nuget: CSVtoHTMLConverter, 1.0.0"
#addin nuget:?package=CSVtoHTMLConverter&version=1.0.0
#tool nuget:?package=CSVtoHTMLConverter&version=1.0.0
CSV to HTML table generator
The reusable package will convert CSV file to as HTML document.
Target
The package targets .Net Framework 4.0
or latest. you can use the package CSVtoHTMLConverter
on projects which are based on .Net Framework
Usage
- Create New Project on Visual Studio
- Right click on Reference
- Browse Reference and Select
CSVtoHTMLConverter.dll
Then you have to pass the value to the params of source file path, where you going save path, file name to save and table border size of your html table.
Your Code Look like following Example:
CSVConverter csvConverter = new CSVConverter(); //Call the Class form CSVtoHTMLConverter.dll
string filePath = @"C:\Users\Ceymplon\Desktop\electronic-card-transaction-may-2019-csv\sample.csv"; //Your Source File path
string savePath = @"C:\Users\Ceymplon\Documents"; //Your Save path
string fileName = "CSVsample"; //File Name
string tableBorderSize = "1"; // Table Border Size
csvConverter.CSVtoHtmlConverter(filePath, savePath, fileName, tableBorderSize);
To Get Return as String
- Create New Project on Visual Studio
- Right click on Reference
- Browse Reference and Select
CSVtoHTMLConverter.dll
Then you have to pass the value to the params of source file path and table border size of your html table.
Your Code Look like following Example:
CSVConverter csvConverter = new CSVConverter(); //Call the Class form CSVtoHTMLConverter.dll
string filePath = @"C:\Users\Ceymplon\Desktop\electronic-card-transaction-may-2019-csv\sample.csv"; //Your Source File path
string tableBorderSize = "1"; // Table Border Size
csvConverter.CSVtoHtmlString(filePath,tableBorderSize);
You can also use this dll into Core application.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 964 | 6/28/2019 |
To convert CSV file to as HTML file.