ActiveReports 8
OleDBDataSource Constructor(String,String,Int32)
See Also 
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.Data Namespace > OleDBDataSource Class > OleDBDataSource Constructor : OleDBDataSource Constructor(String,String,Int32)

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.

Glossary Item Box

Initializes a new instance of the OleDbDataSource class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal connectionString As System.String, _
   ByVal sql As System.String, _
   ByVal timeout As System.Integer _
)
C# 
public OleDBDataSource( 
   System.string connectionString,
   System.string sql,
   System.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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also