09 2012 档案
C#操作XML的完整例子——XmlDocument篇(转载,仅做学习之用)
摘要:博客分类:XMLXMLCC++C#.net这是一个用c#控制台程序下, 用XmlDocument 进行XML操作的的例子,包含了查询、增加、修改、删除、保存的基本操作。较完整的描述了一个XML的整个操作流程。适合刚入门.net XML操作的朋友参考和学习。假设有XML文件:books.xml<?xmlversion="1.0"encoding="UTF-8"?><books><book><name>哈里波特</name><price>10</price><memo&
阅读全文
XML学习(C#创建XML)[转自他人文章,仅做学习之用]
摘要:转自:http://blog.csdn.net/didostream/article/details/4804370 自己写的 [c-sharp] view plaincopyprint? usingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Xml; namespaceConsoleApplication1 { classProgram { staticvoidMain(string[]args) { //创建一个XML文件对象 XmlDo...
阅读全文
浙公网安备 33010602011771号