Export large data to Excel in C#, VB.NET, Java, C++, PHP and other programming languagesEasyXLS is an Excel component that can be used to export Excel files programmatically. It also permits the export of large amount of data to Excel file.



EasyXLS is an optimal solution to:

  • export large volume of data from MS SQL, MySQL, MS Access, Oracle database
  • export large GridView to Excel
  • export large DataSet to Excel
  • export large DataTable to Excel
  • export large ResultSet to Excel

The Excel component supports all MS Excel file formats: XLSX, XLS, XLSM, XLSB and XML Spreadsheet. The below links explains with source code samples how to export data to these file formats:

However, the recommended file format for large Excel files is the binary format like XLSB or XLS formats. Binary files are faster by default.

For a fast export and better memory management, some steps must be followed. Check the below link for more technical details:
How to export large Excel file?

The Excel component can be used from C#, VB.NET, C++.NET, PHP, ASP classic, C++, Java, VBS, VB6 or ColdFusion.

(0) Comments    Read More   

Export DataGrid to Excel in C# or VB.NET

Export DataGrid to Excel file in C# and VB.NET quick and effortless!
http://www.easyxls.com/manual/FAQ/export-datagrid-to-excel.html

(0) Comments    Read More   

Export data to XLSM fileEasyXLS is an Excel component that can be included in any C#, VB.NET or Java application.

Furthermore, it includes a .NET built DLL which is a COM+ library, that can be used from PHP, ASP classic, C++, VB6 or any other language that supports COM technology.

By including EasyXLS into your application, you can export Excel files that include macros or VBA code. The component supports XLSM file format, but, it also supports the older XLS format or the XLSB binary format.

EasyXLS preserves macros when the Excel file is loaded through the component. After working with loaded data or adding more data, the Excel file can be exported as XLSM file format or XLS, XLSB file.

For more technical details, read further how to export data to XLSM file.

EasyXLS can be used from any of the following environment and even more:

.NET version

  • ASP.NET web pages
  • Windows applications
  • Windows Forms (WinForms)
  • Console applications
  • Windows service applications
  • ASP.NET MVC web applications

COM+ version

  • PHP web applications
  • ASP classic web pages
  • C++ applications
  • MFC applications
  • VB6 applications
  • VBS scripts

Java version

  • Java applications
  • Java servlets
  • ColdFusion web applications
(0) Comments    Read More   
Oct
27
Posted on 27-10-2014
Filed Under (ASP.NET, C#, Export, VB.NET, WinForms) by Oana

Export data to Excel in C# or VB.NETEasyXLS Excel library lets you to export data to Excel in .NET from WinForms or ASP.NET applications.

The library works without Excel installed and without Interop. It is not dependent on other additional software.

Great tricks about exporting to Excel using EasyXLS can be found on the following links:

EasyXLS supports the export of data in XLSX, XLSM, XLS and XLSB file formats for Microsoft Excel 97, 2003, 2007, 2010 and 2013. It is constantly updated to be in line with Microsoft Excel changes.

The Excel library allows you to export data from windows applications. Read more details about how to export to Excel from winform.

It also allows you to export data from ASP.NET web applications. Read more details about how to export to Excel in ASP.NET.

EasyXLS permits you to export data fast and it handles very well large Excel files.

Using this Excel library, string values, numeric values, dates or booleans can be successfully exported to Excel. It also supports formulas and even more, it includes a calculation engine for formulas. The data can be exported to Excel files having multiple sheets.

EasyXLS is a C# Excel library and VB.NET Excel library that can be integrated in any .NET application.

(0) Comments    Read More   

export DataGridView to Excel in .NETHave you ever had a WinForm that shows a nice report inside a DataGridView? It looks great! Now, you want to export this report to Excel and you’re asking yourself, “How can I do this?”. You have the button that it says “Export to Excel”, but now “What should I do?”. If this is your case, you are now on the right page. If you have never confronted with this situation, who knows, maybe tomorrow will surprise you and you can be ready from now on. See..you’re still on the right page.

EasyXLS Excel library makes such tasks so much easier to achieve. When it comes to export data to Excel, EasyXLS is the best choice. It offers all kind of methods and solutions that make complicated things uncomplicated when Excel files are involved.

Now, let’s get back to our DataGridView and “Export to Excel” button. Using EasyXLS, you can export DataGridView to XLSX, XLS, XLSM or XLSB file formats. The Excel file can also have multiple sheets and you can choose the right sheet where the DataGridView can fit. Do you have a huge DataGridView? EasyXLS handles very well exporting large data to Excel. If I have captured your attention, see here how to export DataGridView to Excel in C# and VB.NET.

In most of the cases the data source of the DataGridView is a DataTable. If so, have you ever thought that the export to Excel can be done with one line of code? Check this sample on exporting DataTable to Excel file in C# and VB.NET.

Now get your keyboard back to work. Happy coding!

(0) Comments    Read More   
Oct
07

Export list to ExcelEasyXLS is an Excel library and component that allows you to export lists of data to Excel files. The list can contain strings, dates, number or any other objects. The list can be exported to XLSX, XLS, XLSM or XLSB file formats.

Export list to Excel in C#
The list can be a System.Collections.ArrayList object, System.Collections.Generic.List or any other structure that implements a list.

Export list to Excel in VB.NET
The same as previously mentioned lists can be exported from VB.NET.

Export list to Excel from ASP.NET
EasyXLS can be successfully integrated in ASP.NET web applications, including ASP.NET MVC applications.

Export list to Excel in PHP
EasyXLS can be used to export list items to Excel in PHP. The list can also contain data from MySQL databases.

Export list to Excel in Java
The list can be a java.util.ArrayList object, java.util.Vector or any other structure that implements a list.

Export list to Excel in C++
EasyXLS can also be used from C++ to export data from lists to Excel file. COM+ objects and methods make possible the integration of the .NET component in C++. The Excel component can be also integrated in MFC applications.

For more details and how to do it read export list to Excel.

Best way to export List to Excel file in C#, VB.NET, Java, PHP and many other!

(0) Comments    Read More   
Sep
08

export data to xls fileEasyXLS is an Excel component that facilitates the export of real XLS files from C#, VB.NET, Java, C++, PHP or ASP classic.

It is a common practice to save HTML files with XLS extension to export reports as Excel. But sometimes you need real XLS binary files for having access to full Excel feature, not only cell data and cell formatting. If your Excel file must include autofilters, pivot tables, conditional formatting, macros or charts, EasyXLS Excel component is the best solution and offers all of these features and even more. Your Excel file can also have multiple sheets.

Using EasyXLS, you can export a GridView, DataGridView, DataGrid, DataTable, DataSet, JTable or ResultSet data structures to Excel with one single line of code.

The exported data can be arranged in predefined or custom formats and if necessary, the data can be protected from unintentional editing actions or secured with passwords.

Furthermore, EasyXLS component handles very well big volume of data. Large Excel files can be exported with less memory consumption and at a reasonable speed.

EasyXLS also includes a calculation engine, that allows not only to add formulas to your Excel, but also to calculate them, if necessary.

Read more details on how to export data to xls file in C#, VB.NET, Java, C++, PHP.

(0) Comments    Read More   

Export data to XLSX file in .NET or JavaEasyXLS Excel library makes easier the export of Excel reports in XLSX file format.

The Excel reports can be formatted to have an attractive look, exactly in the preferred mode, or one of the predefined looks can be selected.

The Excel library works without Excel installed and without Interop and it is perfect to be used from server environments or desktop applications.

Data structures like GridView, DataGridView, DataGrid, DataTable, DataSet, JTable and ResultSet can be exported to XLSX file with one single line of code.

EasyXLS can be used from programming languages like C#, VB.NET, C++.NET, J#, Java, PHP, ASP classic, C++, VB6, VBS or ColdFusion.

EasyXLS allows not only the export of data and formatting, but also offers other Excel features like conditional formatting, data validation, comments, images and print options.

Moreover, the data can be exported as charts, pivot tables or pivot charts.

The data can be protected with password and the Excel file can be encrypted.

The export of XLSX file is fast, so it is the best solution for exporting large xlsx files.

Read more details on how to export data to xlsx file in C#, VB.NET, Java, C++, PHP.

(0) Comments    Read More   

Nice formatted reports
EasyXLS can be used to create nice formatted Excel reports. The exported reports can be in XLSX, XLS, XLSM or XLSB file format.

export data to excel with formatting

EasyXLS Excel library can be integrated in various programming languages like C#, VB.NET, C++.NET, Java, PHP, ASP classic or C++ or more. The library can be included in any environment that supports .NET, Java or COM technology.

Predefined formats
The report can have a predefined look or a custom formatting. EasyXLS comes with 50 predefined auto formats. Also, custom color and font schemes can be set for report appearance. Themes of colors can be applied for Office 2007-2013 documents.

Data protection
The data in cells can be protected from unintended editing, if data must keep its integrity. Excel file can also be protected with password when the file is opened or modified. EasyXLS also support encrypted Excel files.

Full support
EasyXLS supports all formatting settings that Microsoft Excel offers for spreadsheet design like number and date format, text alignment, font settings, border settings, fill settings (background, pattern gradient) and cell protection.

Read more about how to format Excel cells, Excel rows or Excel columns. Code samples and more technical details can be found at this link.

(0) Comments    Read More   
Jul
30
Posted on 30-07-2014
Filed Under (ASP.NET, C#, Export, GridView, VB.NET) by Oana

export gridview to excel in asp.netExporting GridView to Excel file is a common task for almost all ASP.NET applications that involves displaying reports of data to users. Usually the report from the screen must be exported to different file formats. The Excel file formats, like XLS, XLSX, XLSM and XLSB, are some of them.

EasyXLS Excel library lets you export the GridView in a very simple and fast way and it allows you to format the report according to requirements.

The library can be integrated in ASP.NET web applications and can be used from C#, VB.NET or C++.NET.

The exported Excel file can have multiple sheets and each of them can contain another GridView, if necessary, or additional data.

EasyXLS allows you to export the GridView and the Excel file will have a similar look like your screen report. The library offers all the formatting features for the Excel cells including background, foreground, borders and alignment options. The data from the Excel cells can be locked from unintentional editing events. Even more, the exported Excel file can be password secured when the file is opened or edited.

EasyXLS handles very well big volume of data and it works without Excel installed and without OLE Automation.

Check here some source code samples:
Export GridView to Excel in C#
Export GridView to Excel in VB.NET

(0) Comments    Read More