FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.6 Assembly / C1.Win.FlexReport Namespace / DataSource Class / Recordset Property

In This Topic
    Recordset Property (DataSource)
    In This Topic
    Sets or gets the data source object that provides data to the report.
    Syntax
    'Declaration
     
    Public Property Recordset As Object
    public object Recordset {get; set;}

    Property Value

    You can assign objects of the following types to the Recordset property: (1) System.Data.DataTable objects, (2) System.Data.DataView objects, or (3) any object that implements the IC1FlexReportRecordset or System.Collections.IList interface.
    Remarks

    Usually, the control creates a data object based on the value of the ConnectionString and RecordSource properties, and uses that object as the report data source.

    Alternatively, you may want to create the data source object yourself, and assign it to the control. You can do that by assigning your data source object to the Recordset property.

    You can assign objects of the following types to the Recordset property: (1) System.Data.DataTable objects, (2) System.Data.DataView objects, or (3) any object that implements the IC1FlexReportRecordset or System.Collections.IList interface.
    See Also