日期:2014-05-17 浏览次数:20392 次
XmlDocument node = new XmlDocument(); string filename = ImagesPath + "Xml/ad.xml"; node.Load(filename); XmlNodeReader reader = new XmlNodeReader(node); DataSet set = new DataSet(); set.ReadXml(reader); RepWebList.DataSource = set; RepWebList.DataBind(); reader.Close();