Progress® Telerik® Reporting R2 2017

SqlDataSource Constructor (String, String, String, SqlDataSourceCommandType)

Initializes a new instance of the SqlDataSource class.

Namespace:  Telerik.Reporting
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public SqlDataSource(
	string providerName,
	string connectionString,
	string selectCommand,
	SqlDataSourceCommandType selectCommandType
)

Parameters

providerName
Type: SystemString
Specifies the managed provider name used to connect to data.
connectionString
Type: SystemString
Specifies the connection string used to connect to data.
selectCommand
Type: SystemString
Specifies the SQL select statement or stored procedure to execute.
selectCommandType
Type: Telerik.ReportingSqlDataSourceCommandType
Specifies how the select command string to be interpreted.

See Also