FlexReport for .NET | ComponentOne
C1.WPF.FlexReport.4.6.2 Assembly / C1.WPF.FlexReport Namespace / DataSource Class
Members

In This Topic
    DataSource Class
    In This Topic
    Represnts a data source in a C1FlexReport.
    Object Model
    DataSource Class
    Syntax
    'Declaration
     
    Public Class DataSource 
       Inherits StrongNamedReportObject
    public class DataSource : StrongNamedReportObject 
    Remarks

    Most reports specify their data sources by setting the ConnectionString and RecordSource properties. The DataSource object uses these values to connect to a database and retrieve the report data.

    Alternatively, you can assign data objects directly to the Recordset property. This approach is more efficient in scenarios where the data has already been loaded by the application for other purposes, and can be used in the report directly instead of loading a copy.

    Inheritance Hierarchy

    System.Object
       C1.WPF.FlexReport.ReportObject
          C1.WPF.FlexReport.StrongNamedReportObject
             C1.WPF.FlexReport.DataSource

    See Also