Class PagedDataTable
A DataTable that loads rows incrementally from an IDataReader in pages of PageSize records, tracking end-of-data and raising a change event.
Implements
IXmlSerializable
Inherited Members
Namespace: Reportman.Reporting
Assembly: Reportman.Reporting.dll
Syntax
public class PagedDataTable : DataTable, IComponent, IDisposable, IServiceProvider, IListSource, ISupportInitializeNotification, ISupportInitialize, ISerializable, IXmlSerializable
Constructors
View SourcePagedDataTable()
Declaration
public PagedDataTable()
Fields
View SourcePageSize
Declaration
public int PageSize
Field Value
| Type | Description |
|---|---|
| int |
UpdateColumns
Declaration
public bool UpdateColumns
Field Value
| Type | Description |
|---|---|
| bool |
Properties
View SourceActive
Declaration
public bool Active { get; }
Property Value
| Type | Description |
|---|---|
| bool |
CurrentReader
Declaration
public IDataReader CurrentReader { get; set; }
Property Value
| Type | Description |
|---|---|
| IDataReader |
Eof
Declaration
public bool Eof { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
View SourceNext()
Declaration
public bool Next()
Returns
| Type | Description |
|---|---|
| bool |
Events
View SourceOnDataChange
Declaration
public event PagedDataChange OnDataChange
Event Type
| Type | Description |
|---|---|
| PagedDataChange |
Implements
System.Xml.Serialization.IXmlSerializable