📅  最后修改于: 2022-03-11 15:05:21.751000             🧑  作者: Mango
SqlConnection conn = new SqlConnection("Database=student;Server=.;user=sa;password=aaaaaaa");
conn.Open(); // Open the connection
// body
// body
conn.Close(); // Close the connection