C# Class PdfRpt.DataSources.ExcelDataReaderDataSource

Microsoft Excel Worksheet Reader DataSource
Inheritance: IDataSource
Show file Open project: VahidN/PdfReport

Public Methods

Method Description
ExcelDataReaderDataSource ( string filePath, string sql ) : System

Converts the selected records to an IEnumerable of Pdf Cells Data

Rows ( ) : IEnumerable>

The data to render.

Private Methods

Method Description
getConnectionString ( ) : string

Method Details

ExcelDataReaderDataSource() public method

Converts the selected records to an IEnumerable of Pdf Cells Data
public ExcelDataReaderDataSource ( string filePath, string sql ) : System
filePath string .xlsx or .xls file path
sql string SQL statement to select the required records
return System

Rows() public method

The data to render.
public Rows ( ) : IEnumerable>
return IEnumerable>