摘要: xml文件格式[xhtml]view plaincopyprint?熊猫123456panda@qq.comasfdsafasdfasdfsad我是内容2009-10-1增加>>>>[c-sharp]view plaincopyprint?XmlDocumentxmld=newXmlDocument();xmld.Load(Server.MapPath("App_Code/Message.xml"));//加载xml文件XmlNoderoot=xmld.SelectSingleNode("messageList");//查找mes 阅读全文
posted @ 2014-03-21 23:23 shuenjian901 阅读(436) 评论(0) 推荐(0) 编辑
摘要: private void Form1_Load(object sender, EventArgs e) { string xmlPath = System.Environment.CurrentDirectory + "\\UpdateList.xml"; //1.加载 XDocument xDoc = XDocument.Load(xmlPath); //2.把xml的根节点加载到Treeview的根节点上 XElement xeRoot = xDoc.Root; ... 阅读全文
posted @ 2014-03-21 23:23 shuenjian901 阅读(206) 评论(0) 推荐(0) 编辑