.NET converter
Export Html To Excel files XLS, XSLX

Html To Excel .NET

• HTML documents with CSS styles.
• Excel formats: Excel Spreadsheet XLSX, XLS, CSV.
• Doesn't require Microsoft Excel.
• Royalty-Free. No extra cost for Server license.
• 6 Months: Free Support + Free Updates.
Evaluation Version
Download  |   Online Demo
Developer License - $175
Buy now  |   Price List

Skip Navigation LinksUser Experience > Html to DataTable

Html To Excel .NET converter  

 

 

 
Learning Resources
 

 

 

 

 

News & Releases

April 05, 2016
Version 2.1 Update
Html To Excel .NET converter
December 23, 2015
Version 2.1 Update
Html To Excel .NET converter
February 12, 2015
Version 2.1 Update
Html To Excel .NET converter
May 02, 2013
Version 2.1 Update
Html To Excel .NET converter
December 12, 2012
Version 2.1 Update
Html To Excel .NET converter
August 11, 2012
Version 2.1 Update
Html To Excel .NET converter
June 07, 2012
Version 2.1 New Release!
Html To Excel .NET converter

Html Table to DataTable

"How do I convert not embedded HTML table to DataTable object?"
Vernon Cary

To get DataTable object you need to use WriteToDataTable() method of resulted Excel from Html converting.

  1. // Read the specified html file
  2. HtmlDoc html = HtmlDoc.ReadHTML(@"Html_to_Excel.html");
  3.  
  4. // Convert Html table to Excel
  5. HtmlToExcel htmlexcel = new HtmlToExcel();
  6. ExcelWorkbook excel = htmlexcel.Convert(html);
  7.  
  8. // Convert to DataTable
  9. DataTable table = excel.Worksheets[0].WriteToDataTable();
  10. DataView view = new DataView(table);
  11.