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