摘要:
privatevoidbtnCreate_Click(objectsender,EventArgse) {XmlDocumentxmlDoc =newXmlDocument();//建立Xml的定义声明XmlDeclarationdec = xmlDoc.CreateXmlDeclaration("1.0","GB2312",null); xmlDoc.AppendChild(dec);//创建根节点XmlElementroot = xmlDoc.CreateElement("Books"); xmlDoc.AppendChild(r 阅读全文