using // 内存管理释放 using (SqlConnection conn = new SqlConnection (" Data Source=.; Initial Catalog=Title;User ID=sa;Password=zxcvbnm!!!111")) { conn.Open(); }