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


In This Topic
    DataSource Class Members
    In This Topic

    The following tables list the members exposed by DataSource.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the DataSource class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the ConnectionProperties object containing information about how to connect to the current data source.

    A DataSource must have one and only one of the following properties specified: DataSourceReference or ConnectionProperties.

     
    Public PropertyGets or sets the full folder path (for example, “/salesreports/salesdatabase”) or relative path (for example, “salesdatabase”) to a data source on the same server. Relative paths start in the same folder as the report. The data source uses the connection properties from the DataSourceReference. If report rendered locally then this property should contain path to the RDS file describing datasource.

    A DataSource must have one and only one of the following properties specified: DataSourceReference or ConnectionProperties.

     
    Public PropertyGets or sets the unique name of the current object. If an item with the specified name already exists in the collection, an exception is thrown. (Inherited from C1.C1Preview.NamedCollectionItem)
    Public PropertyGets the DataSources collection containing the current object.  
    Public PropertyGets or sets the data source object that provides data to this DataSource object.  
    Public PropertyGets the C1RdlReport object containing the current object.  
    Public PropertyGets or sets a value indicating whether the data sets that use this data source should be executed in a single transaction.

    The default is false.

     
    Top
    Public Methods
     NameDescription
    Public MethodOverridden. Copies properties from another DataSource to the current object.  
    Public MethodCreates a copy of the current C1.C1Preview.NamedCollectionItem object. Note that the C1.C1Preview.NamedCollectionItem.Owner property is not copied to the new object. (Inherited from C1.C1Preview.NamedCollectionItem)
    Top
    Protected Methods
     NameDescription
    Protected MethodSets the name of the current item. (Inherited from C1.C1Preview.NamedCollectionItem)
    Protected MethodFor internal use. (Inherited from C1.C1Preview.NamedCollectionItem)
    Top
    See Also