Disponse()

问:using( SqlCommand sqlCommand = new SqlCommand(sqlCmd, sqlConnection))
{
        
}
后 还能取到sqlCommand的CommandText属性吗?
同样的using(SqlDataAdapter dataAdapter = new SqlDataAdapter(sqlCmd, sqlConnection))
{

}
后还能取到dataAdapter的SelectCommand.CommandText吗?
请解释哈为什么?谢谢···
原文地址:https://www.cnblogs.com/sgy2008/p/1152851.html