(1)、利用XML文件生成:
  
    先制作XML文件tree.xml
    <?xml version="1.0" encoding="utf-8" ?>
 <TREENODES>
  <TREENODE TEXT="node0" EXPANDED="true">
   <TREENODE TEXT="node1"/>
   <TREENODE TEXT="node2"/>
  </TREENODE>
  <TREENODE TEXT="node3" NavigateURL="3.aspx" target="_blank">
   <TREENODE TEXT="node1"/>
   <TREENODE TEXT="node2"/>
  </TREENODE>
 </TREENODES>
 
 (2)、指定TreeView的TreeNodeSrc属性为:tree.xml