using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;//U have to use System.XML namespace for reading data from xml file.using System.Xml;public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { DataSet ds = new DataSet();'ReadXL will read the data from the specific xml file ds.ReadXml(Server.MapPath("XMLFile.xml")); DropDownList1.DataSource=ds; DropDownList1.DataTextField="Name"; DropDownList1.DataValueField="Name"; DropDownList1.DataBind(); }}