<?xml version="1.0" encoding="utf-8" ?> <Config> <EmailTypeSelect> <EmailType Tname="一般询盘"></EmailType> <EmailType Tname="优质寻盘"></EmailType> <EmailType Tname="一般寻求合作"></EmailType> <EmailType Tname="战略合作"></EmailType> </EmailTypeSelect> </Config> xml文件基本情况 asp:DropDownList ID="DropDownListType" Width="50%" runat="server"></asp:DropDownList> private void BinddingEmailType() { XmlDataSource xds=new XmlDataSource(); xds.DataFile="../config/emailtype.xml"; xds.XPath = "//EmailType"; this.DropDownListType.DataSource = xds; this.DropDownListType.DataTextField = "Tname"; this.DropDownListType.DataBind(); } 以上的代码就可以实现绑定还算简单