This documentation is archived and is not being maintained.

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)

public string DataSourceID { get; set; }
/** @property */
public String get_DataSourceID ()

/** @property */
public void set_DataSourceID (String value)

public function get DataSourceID () : String

public function set DataSourceID (value : String)

Not applicable.

Property Value

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: