DropDownList多级树
Cate.xml文件内容
DropDownList多级树<?xml version="1.0" encoding="utf-8" ?>
DropDownList多级树
<Root>
DropDownList多级树  
<Content>
DropDownList多级树    
<ID>1</ID>
DropDownList多级树    
<ParentID>0</ParentID>
DropDownList多级树    
<CateName>类别1</CateName>
DropDownList多级树  
</Content>
DropDownList多级树  
<Content>
DropDownList多级树    
<ID>2</ID>
DropDownList多级树    
<ParentID>1</ParentID>
DropDownList多级树    
<CateName>类别2</CateName>
DropDownList多级树  
</Content>
DropDownList多级树  
<Content>
DropDownList多级树    
<ID>3</ID>
DropDownList多级树    
<ParentID>2</ParentID>
DropDownList多级树    
<CateName>类别3</CateName>
DropDownList多级树  
</Content>
DropDownList多级树  
<Content>
DropDownList多级树    
<ID>4</ID>
DropDownList多级树    
<ParentID>3</ParentID>
DropDownList多级树    
<CateName>类别4</CateName>
DropDownList多级树  
</Content>
DropDownList多级树  
<Content>
DropDownList多级树    
<ID>5</ID>
DropDownList多级树    
<ParentID>0</ParentID>
DropDownList多级树    
<CateName>类别5</CateName>
DropDownList多级树  
</Content>
DropDownList多级树  
<Content>
DropDownList多级树    
<ID>6</ID>
DropDownList多级树    
<ParentID>0</ParentID>
DropDownList多级树    
<CateName>类别6</CateName>
DropDownList多级树  
</Content>
DropDownList多级树  
<Content>
DropDownList多级树    
<ID>7</ID>
DropDownList多级树    
<ParentID>6</ParentID>
DropDownList多级树    
<CateName>类别7</CateName>
DropDownList多级树  
</Content>
DropDownList多级树  
<Content>
DropDownList多级树    
<ID>8</ID>
DropDownList多级树    
<ParentID>7</ParentID>
DropDownList多级树    
<CateName>类别8</CateName>
DropDownList多级树  
</Content>
DropDownList多级树  
<Content>
DropDownList多级树    
<ID>9</ID>
DropDownList多级树    
<ParentID>0</ParentID>
DropDownList多级树    
<CateName>类别9</CateName>
DropDownList多级树  
</Content>
DropDownList多级树  
<Content>
DropDownList多级树    
<ID>10</ID>
DropDownList多级树    
<ParentID>0</ParentID>
DropDownList多级树    
<CateName>类别10</CateName>
DropDownList多级树  
</Content>
DropDownList多级树
</Root>

面页Default.aspx内容

Default.aspx.cs内容

DropDownList多级树using System;
DropDownList多级树
using System.Data;
DropDownList多级树
using System.Configuration;
DropDownList多级树
using System.Web;
DropDownList多级树
using System.Web.Security;
DropDownList多级树
using System.Web.UI;
DropDownList多级树
using System.Web.UI.WebControls;
DropDownList多级树
using System.Web.UI.WebControls.WebParts;
DropDownList多级树
using System.Web.UI.HtmlControls;
DropDownList多级树
DropDownList多级树
public partial class _Default : System.Web.UI.Page 

App_Code/CateDAL.cs文件
DropDownList多级树using System;
DropDownList多级树
using System.Data;
DropDownList多级树
using System.Configuration;
DropDownList多级树
using System.Web;
DropDownList多级树
using System.Web.Security;
DropDownList多级树
using System.Web.UI;
DropDownList多级树
using System.Web.UI.WebControls;
DropDownList多级树
using System.Web.UI.WebControls.WebParts;
DropDownList多级树
using System.Web.UI.HtmlControls;
DropDownList多级树
XmlUtility.cs文件就是介绍我的博客上有

相关文章: