ADODB.Connection error '800a0e78'
Operation is not allowed when the object is closed.
/shopping/shopproductsubs.asp, line 386
------------------------------------------
set catrs=catdbc.execute(catsql)
While Not catrs.EOF and catcount<maxcategories
cid=catrs("categoryid")
name=catrs("catdescription")
categories(catcount)=name
categoryids(catcount)=cid
catcount=catcount+1
catrs.MoveNext
Wend
setsessa "allcategories",categories
setsessa "allcategoryids",categoryids
setsess "allcatcount",catcount
catrs.Close
set catrs=nothing
ShopCloseDatabase catdbc
end if
---------------------------------------------
มัน error ตามที่ระบุไว้ครับ ช่วยแนะนำทีครับ
ขอบคุณล่วงหน้าครับ
Tag : - - - -
Date :
23 พ.ย. 2548 15:26:48
By :
chainuwat
View :
2569
Reply :
3
No. 1
Guest
386 ---- >set catrs=catdbc.execute(catsql)
While Not catrs.EOF and catcount<maxcategories
cid=catrs("categoryid")
name=catrs("catdescription")
categories(catcount)=name
categoryids(catcount)=cid
catcount=catcount+1
catrs.MoveNext
Wend
setsessa "allcategories",categories
setsessa "allcategoryids",categoryids
setsess "allcatcount",catcount
catrs.Close
set catrs=nothing
ShopCloseDatabase catdbc
end if