说是第13行"变量或者类型不正确,或者不在可以接受的范围之内,要不就是与其他数据冲突",也就是objcommand.commandtype=adcmdtable这一行,删掉这行就运行正常了,为什么呢,哪儿出错了呢
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<%
set objcommand=server.CreateObject("adodb.command")
objcommand.activeconnection=conn
objcommand.commandtext="allmovies"
objcommand.commandtype=adcmdtable
set objrs=objcommand.execute
set objcommand=nothing
while not objrs.eof
response.Write(objrs("titleid")&":"&objrs("title")&"<br>")
objrs.movenext
wend
objrs.close
set objrs=nothing
%>
</body>
</html>