本文的数据库用的是sql server

连接字符串

string conn = ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString;
View Code

相关文章: