Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl.Rdl2008 Namespace / DataSource Class / Recordset Property

In This Topic
    Recordset Property (DataSource)
    In This Topic
    Gets or sets the data source object that provides data to this DataSource object.
    Syntax
    'Declaration
     
    Public Property Recordset As Object
    public object Recordset {get; set;}
    Remarks
    Following types of objects can be assigned to this property:
    1. System.Data.DataTable
    2. System.Data.DataView
    3. An object supporting System.ComponentModel.IListSource interface
    4. An object supporting System.Collections.IEnumerable or System.Collections.IEnumerator interface
    If the assigned object does not contain the list of fields (like a DataTable or a DataView), an attempt is made to retrieve the fields using the System.ComponentModel.ITypedList interface. If the System.ComponentModel.ITypedList interface is not supported, then the public properties of the first object in the collection are used as the fields.
    See Also