Table of Contents

Class ExportService

Namespace
Innova.Prism.Library.Services
Assembly
Innova.Prism.Library.dll

Service class for exporting data to various formats.

public class ExportService : IExportService
Inheritance
ExportService
Implements

Constructors

ExportService(IWindowDialogService, IEventAggregator, IFileService)

Initializes a new instance of the ExportService class.

Methods

ExportShowToHtml(DataTable, IEnumerable<ISupportEntityListView>)

Exports the mainEntityDataTable and optional entityListViews to an HTML file for display.

ExportToCsv(DataTable)

Exports the specified DataTable to a CSV file.

ExportToXlsx(DataTable)

Exports the specified DataTable to an XLSX file.

ExportToXlsxInterop(DataTable)

Exports the specified DataTable to an XLSX file using Interop.