摘要:
Web config配置连接字符串 public static DataSet(string Sql) { using(SqlConnection conn=new SqlConnection(ConfigurationManager.ConnectionStrings["DBName"].ConnectionString)) { conn.Open(); using(SqlCommand cmd=conn.CreateCommand()) { cmd.CommandText... 阅读全文