Convert Spreadsheet File Types
The IronXL library enable a very convenience and safe way to convert from commonly used spreadsheet file format to the require format to be used in the next process of your .Net project. The available formats are shown below:
Load
- XLS
- XLSX
- XLSM
- XLTX
- CSV
- TSV
Export
- XLS, XLSX, XLSM, CSV and TSV
- JSON
- XML
- HTML
- In code data types:
- HTML string
- Binary
- Byte array
- Data set
- Memory stream
How to Convert and Export (XLSX, XLS, XLSM, XLTX, CSV) in C#
- Install C# library to convert Excel file to other file formats
- Use
WorkBook
class to load or create new XLS or XLSX - View, add or modify data in Excel spreadsheet in C#
- Utilize methods in
WorkBook
class to export the spreadsheet. - Check the exported file in specified directory.
Exporting Excel into System.Data.DataSet
and System.Data.DataTable
objects allow easy interoperability or integration with DataGrids
, SQL and EF.
You can download a file project from this link.