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


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

    Parameters

    dataTable
    The DataTable to access.
    Example
    DataTable dt = CreateDataTable();
    AdoDataProvider provider = new AdoDataProvider(dt);
    LL.DataSource = provider;
    LL.Design();
    Dim dt As DataTable = CreateDataTable()
    Dim provider As New AdoDataProvider(dt)
    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