EasyXLS

Export to HTML file in .NET, Java and other programming languages

Concept

EasyXLS™ library allows you to export data to HTML file format.

Concept in action

The below example shows how to export data to HTML file.

The source code samples can be integrated in:
- ASP.NET web pages
- Windows applications
- Windows Forms (WinForms)
- Console applications
- Windows service applications
- ASP.NET MVC web applications
- PHP and ASP web pages
- Java applications

Source code sample

C#.NET
VB.NET
C++.NET
J#.NET
Java
PHP
ASP
C++
VB6
VBS
Coldfusion

The screen shot below represents the exported data to HTML file generated by the code sample above.

Exported data to HTML file

Export to HTML with encoding

EasyXLS allows you to export HTML files with specific encoding using System.IO.StreamWriter class in .NET and java.io.OutputStreamWriter class in Java with ExcelDocument.easy_WriteHTMLFile method.

Export DataTable to HTML in C# and VB.NET

EasyXLS allows exporting DataTable to HTML file. The DataTable can be inserted using ExcelWorksheet.easy_insertDataSet method and the HTML file must be exported using ExcelDocument.easy_WriteHTMLFile method.

Export GridView to HTML in C# and VB.NET from ASP.NET

EasyXLS allows exporting GridView to HTML file. The DataTable of the GridView can be inserted using ExcelWorksheet.easy_insertDataSet method and the HTML file must be exported using ExcelDocument.easy_WriteHTMLFile method.

Export DataGridView to HTML in C# and VB.NET

EasyXLS allows exporting DataGridView to HTML file. The DataTable of the DataGridView can be inserted using ExcelWorksheet.easy_insertDataSet method and the HTML file must be exported using ExcelDocument.easy_WriteHTMLFile method.

Export DataSet to HTML in C# and VB.NET

EasyXLS allows exporting DataSet to HTML file. The DataSet can be inserted using ExcelWorksheet.easy_insertDataSet method and the HTML file must be exported using ExcelDocument.easy_WriteHTMLFile method.

Export ResultSet to HTML in Java

EasyXLS allows exporting ResultSet to HTML file. The ResultSet can be inserted using ExcelWorksheet.easy_insertResultSet method and the HTML file must be exported using ExcelDocument.easy_WriteHTMLFile method.

Export list to HTML

EasyXLS allows exporting list to HTML file. The list can be inserted using ExcelWorksheet.easy_insertList method and the HTML file must be exported using ExcelDocument.easy_WriteHTMLFile method.

Export DataGrid to HTML in C# and VB.NET

EasyXLS allows exporting DataGrid to HTML file. The DataTable of the DataGrid can be inserted using ExcelWorksheet.easy_insertDataSet method and the HTML file must be exported using ExcelDocument.easy_WriteHTMLFile method.

Getting started with EasyXLS Excel library

To download the trial version of EasyXLS Excel Library, press the below button:

Download EasyXLS™ Excel Library for .NET and Java

If you already own a license key, you may login and download EasyXLS from your account.



Available for: Professional, Excel Writer
Go to top

EasyXLS Excel libraries:

.NET
.NET Excel Library
full .NET version to import, export or convert Excel files
.NET Excel Writer
.NET version to create and export Excel files
-
Java
Java Excel Library
full Java version to import, export or convert Excel files
Java Excel Writer
Java version to create and export Excel files
Download EasyXLS™ Excel Library for .NET and Java

File formats:

MS Excel 97 - 2003
MS Excel 2007 - 2010
MS Excel 2013
MS Excel 2016
MS Excel 2019
XLSX XLSM XLSB XLS
XML HTML CSV TXT