随笔分类 -  xml

读取xml节点下的内容,并添加到NavBarControl中
摘要:string tulipath = Application.StartupPath + "//tuli.xml";//xml路径 XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(tulipath);//加载xml XmlNode root = xmlDoc.SelectSingleNode("//root");//寻找root节点 string groups = ""; if (root != null) { groups = (root.SelectSingleNode(&qu 阅读全文
posted @ 2013-08-29 17:16 程路 阅读(325) 评论(0) 推荐(0)