System.Web
2.0.0.0
ASP.NET supports a control data-binding architecture that enables Web server controls to bind to data and present it in a consistent fashion. Web server controls that bind to data are called data-bound controls, and the classes that facilitate binding are called data source controls. Data source controls can represent any data source: a file, a stream, a relational database, a business object, and so on. Data source controls present data in a consistent way to data-bound controls, regardless of the source or format of the underlying data.
Data source controls that represent hierarchical data derive from the class, which is the base ASP.NET implementation of the interface. The interface is used to define data source controls that expose hierarchical data, rather than tabular or list-style data, to Web server controls that derive from the class, such as the control. The interface defines a single method, , which retrieves a strongly typed object. Data source controls that implement this interface support a hierarchical view for each hierarchical level of data they represent. The data source views are not named, like objects, but are identified by their unique hierarchical path, which is the parameter passed to the method.
You can think of a data source control as the combination of the object and its associated views on the underlying data. Each associated object defines the capabilities of a data source control for the hierarchical level represented, and, like all ASP.NET data source view objects, performs operations such as insert, update, delete, and sort.
Data source controls that expose only hierarchical data, such as , are derived from the class. Other data source controls that expose their data as both hierarchical data and tabular data, such as , are derived from but implement the and interfaces.
Represents a hierarchical data source that hierarchical data-bound controls such as can bind to.
Event
System.EventHandler
The event is raised when a change is made to the data source control's properties, such as changing the property of an control, or changing the data in the underlying data storage, which happens when XML nodes are changed by an edit action performed by an control.
Occurs when the data storage that the interface represents has changed.
2.0.0.0
Method
System.Web.UI.HierarchicalDataSourceView
The interface, like the interface, defines a method that hierarchical data source controls use to retrieve a data source view. Like all helper objects that are associated with data source controls, a object defines the operations that the data source can perform with the underlying data. However, although data source controls that represent tabular data typically have only one named view, hierarchical data source controls support a view for each level of hierarchical data that the data source control represents. The level of hierarchical data is identified by a unique hierarchical path, passed as the parameter.
Gets the view helper object for the interface for the specified path.
Returns a that represents a single view of the data at the hierarchical level identified by the parameter.
The hierarchical path of the view to retrieve.
2.0.0.0