积极答复者
配置文件问题

问题
答案
-
的确是不管用哈~
你可以用
Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
来获取配置信息,config设置为局部变量,读取配置前都 Open 一下.- 已标记为答案 YiChun Chen 2009年12月2日 9:51
全部回复
-
的确是不管用哈~
你可以用
Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
来获取配置信息,config设置为局部变量,读取配置前都 Open 一下.- 已标记为答案 YiChun Chen 2009年12月2日 9:51