TreeView.SetNodeDataBound Method

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
)
Not applicable.

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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: