ComponentOne AutoComplete for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Report Namespace / DataSource Class / MaxRecords Property

In This Topic
    MaxRecords Property
    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 System.Integer
    public System.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.

    See Also