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.

C#
public string DataSourceID { get; set; }

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

Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also