BaseDataBoundControlDesigner.DataSource Property

Definition

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

public:
 property System::String ^ DataSource { System::String ^ get(); void set(System::String ^ value); };
public string DataSource { get; set; }
member this.DataSource : string with get, set
Public Property DataSource As String

Property Value

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

Remarks

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.

Applies to

See also