HierarchicalDataBoundControl.MarkAsDataBound Method

Definition

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

protected:
 void MarkAsDataBound();
protected void MarkAsDataBound ();
member this.MarkAsDataBound : unit -> unit
Protected Sub MarkAsDataBound ()

Remarks

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.

Applies to