EasyXLS

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

EasyXLS™ library allows you to export data to text file format and specify the separators for data in rows and columns.

EasyXLS can be successfully used inclusively to export large TXT files having big volume of data with fast exporting time.

Source code sample


The below example shows how to export data to text 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
C#.NET
VB.NET
C++
Java
PHP
ASP
VB6
VBS
Coldfusion
Python

Export to text file with encoding

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

Export DataTable to TXT in C# and VB.NET

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

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

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

Export DataGridView to TXT in C# and VB.NET

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

Export DataSet to TXT in C# and VB.NET

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

Export ResultSet to TXT in Java

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

Export list to text file

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

Export DataGrid to TXT in C# and VB.NET

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

Export data to CSV file

EasyXLS allows you to export data to CSV file.

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
COM+ Excel Library
full COM+ version to import, export or convert Excel files
COM+ Excel Writer
COM+ 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:

Office 365
MS Excel 2021 - 2024
MS Excel 2007 - 2019
MS Excel 97 - 2003
XLSXXLSMXLSBXLS
XMLHTMLCSVTXT