摘要:
创建XML文件 两种方式:1、方式一 private void makeXML() { xmldoc = new XmlDocument(); //加入XML的声明段落, XmlDeclaration xmldecl; xmldecl = xmldoc.CreateXmlDeclaration("1.0", "gb2312", null); xmldoc.AppendChild(xmldecl);//加入一个根元素 xmlelem = xmldoc.CreateElement("", "Employees", &q 阅读全文