摘要: System.Xml.XmlDocument doc1 = new System.Xml.XmlDocument(); //获得配置文件的全路径 string strFileName = AppDomain.CurrentDomain.BaseDirectory.ToString() + "DbUserAccount.xml"; //加载 doc1.Load(strFileName); //找出名称为“add”的所有元素 System.Xml.XmlNodeList nodes = doc1.GetElementsByTagName("add"); fo 阅读全文
posted @ 2013-11-25 11:15 袁半仙 阅读(482) 评论(0) 推荐(0)