FlexReport for .NET | ComponentOne
C1.WPF.FlexReport.4.6.2 Assembly / C1.WPF.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