摘要: Xml是一个存放数据的小型数据库文件,这个应用也很广泛,先把数据添加保存到xml中,然后在读取出来,今天就来看看如何创建xml节点并添加数据,代码如下:protectedvoidInsertXml(stringpath){DataSetds=newMaticsoft.BLL.news().GetList("jh_type=148andjh_status=1orderbyjh_datetimedesc");XmlDocumentxmldocument=newXmlDocument();xmldocument.Load(path);XmlNodenode=xmldocument 阅读全文
posted @ 2011-06-29 17:48 双魂人生 阅读(2663) 评论(0) 推荐(0) 编辑