SqlDataSourceUIHelper.ConfigureConnection(SqlDataSource) Method

Invokes the Connection Editor with the specified settings.

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v21.1.UI.dll

Declaration

public static bool ConfigureConnection(
    this SqlDataSource sqlDataSource
)

Parameters

Name Type Description
sqlDataSource SqlDataSource

A SqlDataSource object, specifying the database connection.

Returns

Type Description
Boolean

true if the dialog was finished by clicking the Finish button; otherwise, false.

Remarks

The following image illustrates the Connection Editor invoked by calling the ConfigureConnection method.

data-access-sql-data-source-ui-helper-connection-editor

The Connection Editor allows an end-user to either specify connection parameters manually, or select an existing connection from the list. If the first option is selected, the next page of the dialog becomes available, prompting an end-user to specify the required connection settings.

data-access-sql-data-source-ui-helper-connection-parameters-editor

See Also