[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Data.OleDBDataSource.-ctor

OleDBDataSource Constructor

OleDBDataSource()

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

Declaration
public OleDBDataSource()

OleDBDataSource(string, string, int)

Initializes a new instance of the OleDBDataSource class.

Declaration
public OleDBDataSource(string connectionString, string sql, int timeout)
Parameters
Type Name Description
string connectionString

The string used to open a connection to the data source using the OleDb data provider.

string sql

The SQL statement used to retrieve records from the data source.

int timeout

The amount of time to wait while executing a command before terminating the attempt and generating an error.