Skip to content

shoter/IziTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IziTable

License: MIT

Description

Library for quickly creating HTML table that is easy to insert everywhere (for example inside email) with option to style it with inline CSS.

Example usage

var table = new Table()
                .AddHeader("Name")
                .AddHeader("Grade")

                .AddRow("John", 5)
                .AddRow("Johny", 2)
                .AddRow("Johnathan", 1)

                .SetStyle(new FileCssStyle("style.css"));

string output = table.ToString();
style.css
table th
{
    color: red;
}

Html Preview:

Html Preview Image

About

Project made to simplify creation of HTML tables.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages