[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Data.OdbcDataSource

OdbcDataSource Class

ODBC data source - allows to connect through ODBC driver.

Inheritance
OdbcDataSource
Namespace: GrapeCity.ActiveReports.Data
Assembly: MESCIUS.ActiveReports.dll
Syntax
[TypeConverter("GrapeCity.ActiveReports.Design.ArDesigner.TypeEditors.DataSourceTypeConverter, MESCIUS.ActiveReports.Design.Win, Version=20.1.2.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff")]
public sealed class OdbcDataSource : DbDataSource, IDbConnectionProperties

Constructors

Name Description
OdbcDataSource()

Default ctor. By default, connection string and command text are empty strings, and command timeout is DefaultTimeout

OdbcDataSource(string, string, int)

Initializes a new instance of the OdbcDataSource class.

Properties

Name Description
ProviderName

Gets the name of the data provider.

Methods

Name Description
OnConnectionStringChanging(string)

Called when the connection string is about to change; validates and normalizes the new value.

SetCredentials(string, string)

Sets the credentials for the connection string.

Extension Methods