首页 > 代码库 > Configuration.ConfigurationSettings.AppSettings已过时

Configuration.ConfigurationSettings.AppSettings已过时

1.在项目中引用System.Configuration.dll,在需要的页面加上using System.Configuration; 
2.把ConfigurationSettings.AppSettings["字符串"]; 替换成ConfigurationManager.AppSettings["字符串"]; 

Configuration.ConfigurationSettings.AppSettings已过时