MarkAsDataBound Method

HierarchicalDataBoundControl.MarkAsDataBound Method ()


Sets the state of the control in view state as successfully bound to data.

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

protected void MarkAsDataBound()

The data-bound control maintains a value in view state that indicates whether it is currently bound to data. The MarkAsDataBound method sets the value to true.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft