combit List & Label 29 - .NET Help
combit.Reporting.DataProviders Namespace / OleDbConnectionDataProvider Class
Members Example


In This Topic
    OleDbConnectionDataProvider Class
    In This Topic
    This data provider can be used to consume data from an OleDbConnection (e.g. Access database file). This class is serializable.
    Object Model
    OleDbConnectionDataProvider Class
    Syntax
    Example
    OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + DatabasePath);
    OleDbConnectionDataProvider provider = new OleDbConnectionDataProvider(conn);
    LL.DataSource = provider;
    LL.Design();
    Dim conn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + DatabasePath)
    Dim provider As New OleDbConnectionDataProvider(conn)
    LL.DataSource = provider
    LL.Design()
    Inheritance Hierarchy

    System.Object
       combit.Reporting.DataProviders.DbConnectionDataProvider
          combit.Reporting.DataProviders.OleDbConnectionDataProvider
             combit.Reporting.DataProviders.AccessDataProvider

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also