System.Web.UI.WebControls.Menu.DataBind Method

Binds the data source to the System.Web.UI.WebControls.Menu control. This method cannot be inherited.

Syntax

public override sealed void DataBind ()

Remarks

This member is used primarily by control developers when deriving a custom control from the System.Web.UI.WebControls.Menu class.

Use the Menu.DataBind method to bind data from a data source to the System.Web.UI.WebControls.Menu control. This method resolves all data-binding expressions in the active template of the control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0