日期:2014-05-18 浏览次数:20902 次
XmlDocument d = new XmlDocument(); d.Load(@"F:\1.xml"); XmlNodeList nodes = d.SelectNodes("//QueryCondition"); foreach (XmlNode x in nodes) MessageBox.Show(x["hpzl"].InnerText + " = " + x["hphm"].InnerText);