Export (0) Print
Expand All

BaseDataListDesigner.DataSourceID Property

Note: This property is new in the .NET Framework version 2.0.

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)

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

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
© 2015 Microsoft