[]
        
(Showing Draft Content)

C1.Report.DataSource.MaxRecords

MaxRecords Property

MaxRecords

Gets or sets the maximum number of data rows to be included in the report (zero includes all rows).

Declaration
public int MaxRecords { get; set; }
Remarks

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 MaxPages property.