📜  c# sql select - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:58.954000             🧑  作者: Mango

代码示例3
SqlConnection conn = new SqlConnection("Database=student;Server=.;user=sa;password=aaaaaaa");  
            conn.Open();  // Open the connection  
            // body    
            // body   
            conn.Close(); // Close the connection