string connString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["SqlConnStr"].ConnectionString; protected static string connectionString = ConfigurationManager.ConnectionStrings["SqlConnStr"].ConnectionString;
本文共 298 字,大约阅读时间需要 1 分钟。
string connString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["SqlConnStr"].ConnectionString; protected static string connectionString = ConfigurationManager.ConnectionStrings["SqlConnStr"].ConnectionString;
转载于:https://www.cnblogs.com/lear/archive/2012/09/25/2701126.html