Data Binding ASP.Net Tutorial

Menu: Displays data items in a  static or dynamic menu.
TreeView: Displays data items in a tree.
<%@ Page Language="C#" %>
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


    
    
    

TreeView


            id="CheckBoxList1"
        DataSourceId="srcData"
        Runat="server" />
    

    
    

Menu


            id="BulletedList1"
        DataSourceId="srcData"
        Runat="server" />
    

            id="srcData"
        DataFile="~/Data.xml"
        XPath="/movies/*"
        Runat="server" />
    


File: Data.xml