ActiveReports 8
Export a Page Report (Export Filter)
Show AllShow All
Hide AllHide All

In a page layout, ActiveReports provides various export filters that you can use to export reports to supported file formats. Here are the export formats that are included with ActiveReports:

Note: HTML Export requires the .NET Framework full profile version. To ensure you are using the full profile version, go to the Visual Studio Project menu > Properties > Compile tab > Advanced Compile Options (for Visual Basic projects) or to the Project menu > Properties > Application tab (for C# projects) and under Target framework select a full profile version.

Use the following steps to export reports through export filters. These steps assume that you have already created a Windows Application and added the export controls to your Visual Studio toolbox. See Adding ActiveReports Controls for further information.

To export a report

  1. Place the Invoice.rdlx report inside your project's Bin>Debug folder.
  2. In the Solution Explorer, right-click the References node and select Add Reference.
  3. In the Add Reference dialog that appears, select the following references and click OK to add them to your project.
    GrapeCity.ActiveReports.Export.Excel.v8
    GrapeCity.ActiveReports.Export.Html.v8
    GrapeCity.ActiveReports.Export.Image.v8
    GrapeCity.ActiveReports.Export.Pdf.v8
    GrapeCity.ActiveReports.Export.Word.v8
    GrapeCity.ActiveReports.Export.Xml.v8
  4. Double-click the Windows Form to create a Form_Load event.
  5. Add the following code to add Invoice.rdlx to your project.

    To write the code in Visual Basic.NET

    To write the code in C#

  6. Add the following code to export Invoice.rdlx to all the formats.

    To write the code in Visual Basic.NET

    To write the code in C#

  7. Press F5 to run the application. The exported files are saved in the bin\debug folder.
See Also

Concepts

Support Forum