combit List & Label 27 - .NET Hilfe
combit.Reporting.DataProviders Namespace / DataProviderCollection Klasse / DataProviderCollection Konstruktor
Beispiele


In diesem Thema
    DataProviderCollection Konstruktor
    In diesem Thema
    Initialisiert eine neue Instanz des Datenproviders.
    Syntax
    'Deklaration
     
    
    Public Function New()
    public DataProviderCollection()
    public:
    DataProviderCollection();
    Beispiele
    DataSet ds1 = CreateDataSet();
    DataSet ds2 = CreateOtherDataSet();
    
    // combine the data from ds1 and ds2 into one datasource
    DataProviderCollection providerCollection = new DataProviderCollection();
    providerCollection.Add(new AdoDataProvider(ds1));
    providerCollection.Add(new AdoDataProvider(ds2));
    LL.DataSource = providerCollection;
    LL.Design();
    Dim ds1 As DataSet = CreateDataSet()
    Dim ds2 As DataSet = CreateOtherDataSet()
    
    ' combine the data from ds1 and ds2 into one datasource
    Dim providerCollection As New DataProviderCollection()
    providerCollection.Add(New AdoDataProvider(ds1))
    providerCollection.Add(New AdoDataProvider(ds2))
    LL.DataSource = providerCollection
    LL.Design()
    Anforderungen

    Plattformen: Windows 8.1 bis Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    Siehe auch