CSVtoHTMLConverter 1.0.0

dotnet add package CSVtoHTMLConverter --version 1.0.0
                    
NuGet\Install-Package CSVtoHTMLConverter -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CSVtoHTMLConverter" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CSVtoHTMLConverter" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CSVtoHTMLConverter" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CSVtoHTMLConverter --version 1.0.0
                    
#r "nuget: CSVtoHTMLConverter, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=CSVtoHTMLConverter&version=1.0.0
                    
Install CSVtoHTMLConverter as a Cake Addin
#tool nuget:?package=CSVtoHTMLConverter&version=1.0.0
                    
Install CSVtoHTMLConverter as a Cake Tool

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 Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.