2013年8月30日
摘要: 配置文件实际上就是一个XML文件,所以我们可以使用XmlDocument来进行操作。代码如下:static void Main(string[] args) { XmlDocument xDoc = new XmlDocument(); xDoc.Load("../../App.config");//加载xml文件 XmlNode xNode; XmlElement xElem1; XmlElement xElem2; xNode = xDoc.Se... 阅读全文
posted @ 2013-08-30 11:51 aparche 阅读(1293) 评论(0) 推荐(0)