先引用System.Configuration才能使用
System.Web.Configuration.WebConfigurationManager.ConnectionStrings["SQL SERVER"].ConnectionString;
先引用System.Configuration才能使用
System.Web.Configuration.WebConfigurationManager.ConnectionStrings["SQL SERVER"].ConnectionString;