TreeView.SetNodeDataBound Method

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

Allows a derived class to set whether the specified TreeNode control is data-bound.

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

protected:
void SetNodeDataBound (
	TreeNode^ node, 
	bool dataBound
)
protected void SetNodeDataBound (
	TreeNode node, 
	boolean dataBound
)
protected function SetNodeDataBound (
	node : TreeNode, 
	dataBound : boolean
)

Parameters

node

The TreeNode to set.

dataBound

true to set the node as data-bound; otherwise, false.

Use the SetNodeDataBound method to indicate whether the specified TreeNode is data-bound.

Notes to Inheritors The SetNodeDataBound method is provided to allow a control that is derived from the TreeView control to set the DataBound property on a node.

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

Community Additions

ADD
Show: