Mega Code Archive
SiteMapDataSource representd a Site Map declaratively in a page
You can bind navigation controls such as the TreeView and Menu controls to a SiteMapDataSource control.
You can bind GridView or DropDownList control to a SiteMapDataSource control.
File: Web.sitemap
The Site Map file represents a website with the following folder and page structure:
Default.aspx
Products
FirstProduct.aspx
SecondProduct.aspx
Services
FirstService.aspx
SecondService.aspx
File: Default.aspx
<%@ Page Language="C#" %>
Home