Skip to main content

ASPxQueryBuilder.OpenConnection(DataConnectionParametersBase, SelectQuery, Int32) Method

Opens a connection to a database.

Namespace: DevExpress.XtraReports.Web

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

NuGet Package: DevExpress.Web.Reporting

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.

See Also