FlexReport for WinForms
MaxRecords プロパティ (DataSource)


C1.Report アセンブリ > C1.Report 名前空間 > DataSource クラス : MaxRecords プロパティ
Gets or sets the maximum number of data rows to be included in the report (zero includes all rows).
シンタックス
'宣言
 
Public Property MaxRecords As System.Integer
'使用法
 
Dim instance As DataSource
Dim value As System.Integer
 
instance.MaxRecords = value
 
value = instance.MaxRecords
public System.int MaxRecords {get; set;}
解説

This property is useful if you want to limit the size of a report. For example, you may write a report designer with a preview window that shows only the first 500 records from the database.

Setting this property to zero causes the control to retrieve all records.

You can also limit the size of reports by setting the FlexReport.MaxPages property.

参照

参照

DataSource クラス
DataSource メンバ