Upravit

Sdílet prostřednictvím


BaseDataListDesigner.DataSourceID Property

Definition

Gets or sets the designer's version of the data source ID property and is used to shadow the corresponding property of the associated control.

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

Property Value

A String that is the data source ID of the associated control.

Remarks

Setting the designer's DataSourceID property causes the BaseDataList.DataSourceID property of the associated control to be set. If the DataSourceID is set to a String, indicating a new data source is to be defined, a Create Data Source dialog box is displayed. If the DataSourceID is set to a String indicating there is no data source, the DataSourceID is set to an empty string ("").

Applies to

See also