System.Web 2.0.0.0 System.Web.UI.HierarchicalDataSourceView

The control can present its underlying data in both tabular and hierarchical format to Web server controls that bind to it. Controls such as or use the to bind to XML data and present it in list or tabular form, while controls that derive from the class, such as , bind to XML data and present it in hierarchical form.

The creates each view type internally through different code paths. If the method is called on the control, an object is created by the control. If the method is called, an object is created. The class is provided for Web server controls that derive from and bind to lists and tabular data, while the is provided for Web server controls that derive from and bind to hierarchical data. Internally, the and classes call the method of object view to retrieve data from a data source, while a class derived from calls the method.

Like all helper objects, the defines the operations that the data source can perform with the underlying data. Because the class only overrides the method, the associated control does not support sort expressions or execute, delete, or update operations.

Represents a data view on an XML node or collection of XML nodes for an control.

- Method
  System.Web.UI.IHierarchicalEnumerable

  The that is returned by is an and can be used like any collection. Call the method to get an and iterate through the collection of nodes, or use foreach (in C#) or For Each (Visual Basic).

  Gets a list of the data items from the underlying data source.

  An collection of data items based on the hierarchical level of the current view.

  2.0.0.0