combit List & Label 25 - .NET Online Web Help
OdbcConnectionDataProvider Class
Members  Example 


combit.ListLabel25.DataProviders Namespace : OdbcConnectionDataProvider Class
This data provider can be used to consume data from an OdbcDbConnection (e.g. an Excel file). This class is serializable.
Object Model
OdbcConnectionDataProvider Class
Syntax
'Declaration
 
Public NotInheritable Class OdbcConnectionDataProvider 
   Inherits DbConnectionDataProvider
   Implements ICanHandleUsedIdentifiers, IDataProvider, combit.ListLabel25.ISupportsLogger 
public ref class OdbcConnectionDataProvider sealed : public DbConnectionDataProvider, ICanHandleUsedIdentifiers, IDataProvider, combit.ListLabel25.ISupportsLogger  
Example
OdbcConnection conn = new OdbcConnection(@"Driver={SQL Native Client};Server=myServerName\theInstanceName;Database=myDataBase; Trusted_Connection=yes;");
OdbcConnectionDataProvider provider = new OdbcConnectionDataProvider(conn);
LL.DataSource = provider;
LL.Design();
Dim conn As New OdbcConnection("Driver={SQL Native Client};Server=myServerName\theInstanceName;Database=myDataBase; Trusted_Connection=yes;")
Dim provider As New OdbcConnectionDataProvider(conn)
LL.DataSource = provider
LL.Design()
Inheritance Hierarchy

System.Object
   combit.ListLabel25.DataProviders.DbConnectionDataProvider
      combit.ListLabel25.DataProviders.OdbcConnectionDataProvider

Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

OdbcConnectionDataProvider Members
combit.ListLabel25.DataProviders Namespace