Disponse()

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

}
后还能取到dataAdapter的SelectCommand.CommandText吗?
请解释哈为什么?谢谢···
posted @ 2008-04-14 15:34  Sgvon  阅读(267)  评论(0编辑  收藏  举报