SqlDataSourceDesigner.GetConnectionString Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the connection string that is valid at design time for the control that is associated with this designer.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

protected virtual string GetConnectionString()

Return Value

Type: System.String

A connection string.

.NET Framework
Available since 2.0
Return to top