2012年9月5日
摘要: 博客分类: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& 阅读全文
posted @ 2012-09-05 22:25 花已向晚,飘落了灿烂 阅读(310) 评论(0) 推荐(0)
摘要: 转自: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... 阅读全文
posted @ 2012-09-05 22:21 花已向晚,飘落了灿烂 阅读(163) 评论(0) 推荐(0)
2008年8月27日
摘要: Any fool can write code that a computer can understand. Good programmers write code that humans can understand. 阅读全文
posted @ 2008-08-27 11:28 花已向晚,飘落了灿烂 阅读(151) 评论(0) 推荐(0)