Table of Contents

Method ExportToExcelInterop

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

ExportToExcelInterop(DataTable, string)

Exports the specified DataTable to an Excel file using Interop.

public static void ExportToExcelInterop(DataTable dataTable, string fileName)

Parameters

dataTable DataTable

The DataTable to export.

fileName string

The file name of the exported Excel file.