2013年1月30日

摘要: 引言: 系统越来越大,配置文件越来越多。之前一直采用直接从xml文件里读取的方式: XmlDocument doc = new XmlDocument(); string fileName = Application.StartupPath+@"\Settings\SystemConfig.xml"; doc.Load(fileName); XmlNode SystemIDXml = doc.SelectSingleNode(@"ROOT/SystemID"); return SystemIDXml .InnerText.Trim(); 使用时... 阅读全文
posted @ 2013-01-30 12:27 日暮青色 阅读(828) 评论(1) 推荐(1) 编辑

导航