摘要:
在C#.net中如何操作XML需要添加的命名空间:using System.Xml;定义几个公共对象:XmlDocument xmldoc ;XmlNode xmlnode ;XmlElement xmlelem ;1,创建到服务器同名目录下的xml文件:方法一:xmldoc = new XmlDocument ( ) ;//加入XML的声明段落,<?xml version="1.0" encoding="gb2312"?>XmlDeclaration xmldecl; xmldecl = xmldoc.CreateXmlDeclaratio 阅读全文
posted @ 2012-06-19 10:34
cotty
阅读(385)
评论(0)
推荐(0)

浙公网安备 33010602011771号