摘要: 获取获取应用程序exe.config文件中 节点value值 /// /// 功能: 读取应用程序exe.config文件中 /// appSettings节点下 节点add属性值 /// 根据add的属性值key来读取value值 /// /// 属性key值 /// public string GetConfigValue(string appKey) { XmlDocument xDoc = new... 阅读全文
posted @ 2013-12-31 12:13 旅途。 阅读(874) 评论(1) 推荐(2) 编辑
摘要: 在Global中 Application_Start 添加如:void Application_Start(object sender, EventArgs e) { //在应用程序启动时运行的代码 System.Reflection.PropertyInfo p = typeof(System.Web.HttpRuntime).GetProperty("FileChangesMonitor", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Public | System. 阅读全文
posted @ 2013-12-31 10:55 旅途。 阅读(448) 评论(0) 推荐(1) 编辑