Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataSourceID Property
Collapse the table of content
Expand the table of content

HierarchicalDataBoundControl.DataSourceID Property

This member overrides BaseDataBoundControl.DataSourceID, and more complete documentation might be available in that topic.

Gets or sets the ID of the control from which the data-bound control retrieves its list of data items.

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

public override string DataSourceID { get; set; }

Property Value

Type: System.String
The ID of a control that represents the data source from which the data-bound control retrieves its data. The default is String.Empty.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft