Skip to main content
A newer version of this page is available. .

ASPxQueryBuilder.OpenConnection(DataConnectionParametersBase, SelectQuery, Int32) Method

Opens a connection to a database.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v18.2.Web.WebForms.dll

Declaration

public void OpenConnection(
    DataConnectionParametersBase connectionParameters,
    SelectQuery selectQuery,
    int commandTimeout
)

Parameters

Name Type Description
connectionParameters DataConnectionParametersBase

A DataConnectionParametersBase object, containing settings required to establish a data connection.

selectQuery SelectQuery

A SelectQuery object.

commandTimeout Int32

An integer value, specifying the timeout to execute a query. This value is assigned to the ConnectionOptions.CommandTimeout property.

See Also