System.Web.UI.WebControls.HierarchicalDataBoundControl.GetData Method

Retrieves a System.Web.UI.HierarchicalDataSourceView object that the data-bound control uses to perform data operations.

Syntax

protected virtual System.Web.UI.HierarchicalDataSourceView GetData (string viewPath)

Parameters

viewPath
The hierarchical path of the view to retrieve.

Returns

The System.Web.UI.HierarchicalDataSourceView object that the data-bound control uses to perform data operations.

Remarks

The HierarchicalDataBoundControl.GetData(string) method retrieves a System.Web.UI.HierarchicalDataSourceView object from the associated data source control by calling the HierarchicalDataBoundControl.GetDataSource method.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0