[]
Default ctor. By default, connection string and command text are empty strings, and command timeout is DefaultTimeout
public OleDBDataSource()
Initializes a new instance of the OleDBDataSource class.
public OleDBDataSource(string connectionString, string sql, int timeout)
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. |