recordset 오픈 여부 > ASP

본문 바로가기




WEBDEV


사이트 내 전체검색


recordset 오픈 여부

페이지 정보

작성자 최고관리자 댓글 0건 조회 2,676회 작성일 17-05-08 14:49

본문


The State property can have a combination of values. If a statement is executing, this property will have a combined value of adStateOpen and adStateExecuting.


  1. adStateClosed value=0 The object is closed
  2. adStateOpen value=1 The object is open
  3. adStateConnecting value=2 The object is connecting
  4. adStateExecuting value=4 The object is executing a command
  5. adStateFetching value=8 The rows of the object are being retrieved


To check if a recordset is open you can use


if rs.State=adStateOpen then


end if


to close it if its open the use


if rs.State=adStateOpen then


rs.Close


end if


댓글목록

등록된 댓글이 없습니다.



개인정보처리방침
서비스이용약관
모바일버전
그누보드5
Copyright © 소유하신 도메인. All rights reserved.