文件名称:生成XML文件
文件大小:772B
文件格式:ZIP
更新时间:2016-09-24 15:52:12
XML
生成XML string[] strxml={"1","2","3"}; string[] strname = {"c","d","a" }; XmlDocument xmlDoc = new XmlDocument(); // 添加XML声明 XmlDeclaration xmlDeclaration = xmlDoc.CreateXmlDeclaration("1.0", "UTF-8", "");
【文件预览】:
Form1.cs