警告 1 “System.Configuration.ConfigurationSettings.AppSettings”已过时:“This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings” H:/网站/JiaoCai/VS/Main_S.aspx.cs 42 43 H:/.../VS/
解决办法:
将这个:System.Configuration.ConfigurationSettings.AppSettings["dbconnstring"].ToString()
修改为:System.Configuration.ConfigurationManager.AppSettings["dbconnstring"].ToString()