摘要:
//创建xml文件(添加根节点的属性)
StreamWriter sw = File.CreateText(AppDomain.CurrentDomain.BaseDirectory + "Xml\\" + xmlFilename + ".xml");
sw.WriteLine("");
sw.WriteLine("");
sw.Close();
XmlDocument doc = new XmlDocument();
doc.Load(AppDomain.CurrentDomain.BaseDirectory + "Xml\\" + xmlFilename + ".xml");
阅读全文
posted @ 2007-01-17 17:00 寒夜听雨 阅读(2449) 评论(1) 推荐(0) 编辑