类型不匹配:‘IsNumric‘是怎么回事?
<%ParentID=GetRs("Select ParentID From ArticleClass where ClassID="&ClassID)
If IsNumric(ParentID) Then
ParentID=int(ParentID)
TmpSql="Select ClassID,ClassName From ArticleClass where ClassID="&ParentID
Else
ParentID=0
TmpSql="Select ClassID,ClassName From ArticleClass where ParentID="&ClassID
End If
'Response.write tmpsql
Call OpenCreateRs(TmpConn,TmpRs,TmpSql)
Do While Not TmpRs.EOF
%>
ClassID和ParentID都是数字类型的