用Dataset对象读取XML内容来绑定下拉列表框。 DataSet ds; //读配置文件 ds = new DataSet(); ds.ReadXml(Application.StartupPath + "\\CashAcceptType.xml"); //将读取到的记录绑定到下拉列表框中 foreach (DataRowView dr in ds.Tables[0].DefaultView); 相关文章: