第一个示例方法: 1 SqlConnection conn = new SqlConnection();2 conn.ConnectionString = "Server=127.0.0.1;User ID=sa;Password=fdahgdrethj31313210212121;Database=northwind;Persist Security Info=True";3 conn.Open();4 SqlData