2012年4月9日

xml

摘要: using System.Xml.Linq;protected static string file = System.Web.HttpContext.Current.Server.MapPath("~/test/ruonanxiao.xml"); public static string GetName() { string name = string.Empty; XElement doc = XElement.Load(file); var names = from p in doc.Descendants("name") select p.Val 阅读全文

posted @ 2012-04-09 23:33 ruonanxiao 阅读(112) 评论(0) 推荐(0) 编辑

导航