Skip to main content

SqlDataSource(String) Constructor

Initializes a new instance of the SqlDataSource class with the specified connection name.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public SqlDataSource(
    string connectionName
)

Parameters

Name Type Description
connectionName String

A String value, specifying the connection name in the App.config file. This value is assigned to the SqlDataSource.ConnectionName property.

See Also