SiteMapPath.DataBind Method


Binds a data source to the SiteMapPath control and its child controls.

 override void DataBind();
public override void DataBind ();
override this.DataBind : unit -> unit
Public Overrides Sub DataBind ()


The SiteMapPath control is designed to retrieve its data directly from a site map provider by using the Provider property. Do not use the SiteMapPath control to bind to ASP.NET data source controls, and do not call the DataBind method explicitly.

Applies to

See also