DataSource Property
Collapse the table of content
Expand the table of content

BaseDataBoundControlDesigner.DataSource Property

 

Gets or sets the value of the DataSource property for the associated control.

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

public string DataSource { get; set; }

Property Value

Type: System.String

The data-binding expression used by the associated control derived from BaseDataBoundControl.

The DataSource property is used to shadow the DataSource property of the BaseDataBoundControl class that is associated with this designer. The value of the DataSource property is persisted by the designer as a data-binding expression on the tag that is generated for the underlying BaseDataBoundControl object.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft