Class ViewDataSource
Represents a datasource based on DataView class.
Inherited Members
Namespace: FastReport.Data
Assembly: FastReport.Base.dll
Syntax
public class ViewDataSource : DataSourceBase, IFRSerializable, IParent
Remarks
This class is used to support FastReport.Net infrastructure, do not use it directly. If you want to use data from DataView object, call the RegisterData(DataView, String) method of the Report.
Properties
View
Gets the underlying DataView object.
Declaration
public DataView View { get; }
Property Value
Type | Description |
---|---|
DataView |
Methods
GetValue(Column)
Gets data stored in a specified column.
Declaration
protected override object GetValue(Column column)
Parameters
Type | Name | Description |
---|---|---|
Column | column | The column. |
Returns
Type | Description |
---|---|
System.Object | An object that contains the data. |
Overrides
InitSchema()
Initializes the datasource schema.
Declaration
public override void InitSchema()
Overrides
Remarks
This method is used to support the FastReport.Net infrastructure. Do not call it directly.
LoadData(ArrayList)
Loads the datasource with data.
Declaration
public override void LoadData(ArrayList rows)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.ArrayList | rows | Rows to fill with data. |
Overrides
Remarks
This method is used to support the FastReport.Net infrastructure. Do not call it directly.