C# Class PdfRpt.DataSources.DataTableDataSource

System.Data.DataTable DataSource
Inheritance: IDataSource
Show file Open project: VahidN/PdfReport

Public Methods

Method Description
DataTableDataSource ( DataTable dataTable ) : System.Collections.Generic

Converts a DataTable to an IEnumerable of Pdf Cells Data

Rows ( ) : IEnumerable>

The data to render.

Method Details

DataTableDataSource() public method

Converts a DataTable to an IEnumerable of Pdf Cells Data
public DataTableDataSource ( DataTable dataTable ) : System.Collections.Generic
dataTable System.Data.DataTable our dataTable value to convert
return System.Collections.Generic

Rows() public method

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