TreeNode::DataBound Property
.NET Framework (current version)
Gets a value that indicates whether the node was created through data binding.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::Booleantrue if the node was created through data binding; otherwise, false.
The DataBound property is used to programmatically determine whether the node was created through data binding. Because dynamic and static content cannot be mixed in the same node, this property is commonly used when populating a TreeView control dynamically to determine whether the node contains static content.
The value of this property is stored in view state.
.NET Framework
Available since 2.0
Available since 2.0
Show: