ActiveReports 10
OleDBDataSource Constructor(String,String,Int32)

GrapeCity.ActiveReports.v10 Assembly > GrapeCity.ActiveReports.Data Namespace > OleDBDataSource Class > OleDBDataSource Constructor : OleDBDataSource Constructor(String,String,Int32)
The connection used to open the database.
The text of the query.
The wait time before terminating an attempt to execute a command.
Initializes a new instance of the OleDbDataSource class.
Syntax
'Declaration
 
Public Function New( _
   ByVal connectionString As String, _
   ByVal sql As String, _
   ByVal timeout As Integer _
)
public OleDBDataSource( 
   string connectionString,
   string sql,
   int timeout
)

Parameters

connectionString
The connection used to open the database.
sql
The text of the query.
timeout
The wait time before terminating an attempt to execute a command.
See Also

Reference

OleDBDataSource Class
OleDBDataSource Members
Overload List