khalidabuhakmeh / ConsoleTables

Print out a nicely formatted table in a console application C#
MIT License
948 stars 158 forks source link

Add support console data from datatable #66

Closed chuongmep closed 1 year ago

chuongmep commented 1 year ago

This is pull request support with data is DataTable Full example

ConsoleTable
            .From(record)
            .Configure(o => o.NumberAlignment = Alignment.Left)
            .Configure(o => o.EnableCount = true)
            .Configure(o => o.OutputTo = Console.Out)
            .Write(Format.MarkDown);
chuongmep commented 1 year ago

@khalidabuhakmeh , can give me consider merge that ? I waited too long.

khalidabuhakmeh commented 1 year ago

Thanks for your contribution. I'll publish a new version.