Open不抛异常,且Status是Open,就是能正常打开
SqlConnection conntection=new SqlConnection(ConfigurationManager.ConnectionString[''conString'].ToString());
string sqlString = "select * from orders order by id desc";
SqlCommad command = new SqlCommand("sqlString",connection);
DataSet dataSet = new DataSet();
SqlDataAdapeter adapter = new SqlDataAdapter(sqlString);
adapter.Fill(dataSet);
// 以上不是测试过的语句, 只想通过这些让你知道,应该怎么 OPEN, 这些语句只是流程示意
能open不就是正常链接了吗