News

Convert C# datatable to stringbuilder containing HTML table public static void html_table_from_dt(ref DataTable dt, ref System.Text.StringBuilder sb, string sTableId = "", int iPercentWidth = 0, ...
So the simplest way to show the data in email body will be to convert the data and column of datatable in a html table and then use the html as body of email. In this scenario the following code will ...
In this blog i described how to convert list objects to datatable. there are several method to convert list objects to datatable. in this blog i used list interface for conversion.it is a generic ...