ComponentOne Reports for WPF
C1.C1Report Namespace / DataSource Class / MaxRecords Property

In This Topic
    MaxRecords Property (DataSource)
    In This Topic
    Gets or sets the maximum number of data rows to be included in the report (set to zero to include all rows).
    Syntax
    'Declaration
     
    Public Property MaxRecords As Integer
    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 C1Report.MaxPages property.

    See Also