BaseDataListDesigner.DataSourceID Property

 

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.

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

member DataSourceID : string with get, set

Property Value

Type: System.String

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

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 ("").

.NET Framework
Available since 2.0
Return to top
Show: