Skip to main content

SqlDataSource(String) Constructor

In This Article

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

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.2.dll

NuGet Package: DevExpress.DataAccess

#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