Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Collapse]Document Server
  Product Information
 [Expand]Redistribution and Deployment
 [Expand]Spreadsheet Document Server
 [Collapse]XL Export Library
  [Expand]Overview
   Product Structure
   Getting Started
  [Expand]Examples
 [Expand]Rich Edit Document Server
 [Expand]Snap Document Server
 [Expand]PDF Document Processor
 [Expand]Compression Library
 [Expand]Bar Code Library
 [Expand]Unit Conversion Library
 [Expand]API Reference
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Getting Started

To get started with the XL Export library, perform the steps below.

  1. Start Visual Studio and create a new project by selecting FILE | New | Project… in the main menu. In the invoked New Project dialog, select Console Application, specify the project name and location, and click OK.

  2. In the Solution Explorer, right-click the References node and select Add Reference... in the context menu.

  3. In the invoked Reference Manager dialog, add references to the following libraries.

    • DevExpress.Data.v17.1.dll
    • DevExpress.Printing.v17.1.Core.dll
  4. Paste the code listed below in the Main method of the Program.cs file (Main procedure of the Module1.vb file for Visual Basic).

    Show Me

    A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=T242354.

  5. Run the project.

The following image shows the XLSX file generated after executing the code above (the document is opened in Microsoft® Excel®).

Expanded See Also

How would you rate this topic?​​​​​​​