
XML
开心懒宝
这个作者很懒,什么都没留下…
展开
-
xml读取和写入---------xml学习笔记
1、需要的命名空间: using System.Collections.Generic; using System.IO; using System.Text; using System.Xml; 2、数据来源: Idictionary source = new Dictionary() source.Add("name", "神州侠侣"); source.Add("quant转载 2014-12-11 23:27:13 · 382 阅读 · 0 评论 -
XML的简单读取与写入
已知有一个XML文件(bookstore.xml)如下: Oberon's Legacy Corets, Eva 5.95 1、往节点中插入一个节点: XmlDocument xmlDoc=new XmlDocument(); xmlDoc.Load("bookstore.xml");转载 2014-12-12 01:06:41 · 440 阅读 · 0 评论