Back to Devexpress

SqlDataSourceUIHelper Class

windowsforms-devexpress-dot-dataaccess-dot-ui-dot-sql.md

latest2.0 KB
Original Source

SqlDataSourceUIHelper Class

Provides functionality to configure the connection to a SqlDataSource in code.

Namespace : DevExpress.DataAccess.UI.Sql

Assembly : DevExpress.DataAccess.v25.2.UI.dll

NuGet Package : DevExpress.DataAccess.UI

Declaration

csharp
public static class SqlDataSourceUIHelper
vb
Public Module SqlDataSourceUIHelper

Remarks

View Example: Use the SqlDataSourceUIHelper to Edit the SqlDataSource Connection and Query at Runtime

The SqlDataSourceUIHelper provides an application programming interface (API) to invoke various tools available to end-users for configuring the data connection settings in an application.

  • To manage the data connection settings without writing any code, use the Query Builder of a SqlDataSource component.

  • To configure a data connection in code, use the extension methods of the SqlDataSourceUIHelper class (requires referencing the DevExpress.DataAccess.v25.2.UI.dll assembly for an application).

Inheritance

Object SqlDataSourceUIHelper

See Also

SqlDataSourceUIHelper Members

SqlDataSource

DevExpress.DataAccess.UI.Sql Namespace