ASPxQueryBuilder.OpenConnection(String, SelectQuery, Int32) Method
Opens a connection to a database.
Namespace: DevExpress.XtraReports.Web
Assembly: DevExpress.XtraReports.v25.2.Web.WebForms.dll
NuGet Package: DevExpress.Web.Reporting
Declaration
public void OpenConnection(
string connectionName,
SelectQuery selectQuery,
int commandTimeout
)
Parameters
| Name | Type | Description |
|---|---|---|
| connectionName | String | The name of a connection string defined in the application’s configuration file. |
| selectQuery | SelectQuery | A SelectQuery object. |
| commandTimeout | Int32 | An integer value, specifying the timeout to execute a query. |
See Also