List & Label .NET
combit.Reporting.DataProviders Namespace / AdoDataProvider Class / AdoDataProvider Constructor / AdoDataProvider Constructor(DataSet)
The DataSet to access.
Example


In This Topic
    AdoDataProvider Constructor(DataSet)
    In This Topic
    Initializes the data provider to access the data of the passed DataSet.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal dataSet As DataSet _
    )
    public AdoDataProvider( 
       DataSet dataSet
    )
    public:
    AdoDataProvider( 
       DataSet^ dataSet
    )

    Parameters

    dataSet
    The DataSet to access.
    Example
    DataSet ds = CreateDataSet();
    AdoDataProvider provider = new AdoDataProvider(ds);
    LL.DataSource = provider;
    LL.Design();
    Dim ds As DataSet = CreateDataSet()
    Dim provider As New AdoDataProvider(ds)
    LL.DataSource = provider
    LL.Design()
    Requirements

    Platforms: Windows 10 (Version 21H2 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
    .NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10

    See Also