请各位帮忙看看这个asp问题!

来源:百度知道 编辑:UC知道 时间:2024/07/02 06:30:18
<link href="/book/book.css" rel="stylesheet" type="text/css"/>
<!--留言板主体 -->
<%
If request2.Form("Keboy")="xolox" then
Call booksubmit()
End if

dim rs,sql
Set rs = Server.CreateObject("ADODB.RecordSet")
sql = "select * from bookcss where id=1"
rs.Open sql,Conn,0,1
If rs.eof then
rs.close()
Set rs = Nothing
response.End()
End if
%>
错误类型:
Microsoft VBScript 运行时错误 (0x800A01A8)
缺少对象: ''
/book/book.asp, 第 4 行

浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

网页:
GET /book/book.asp

缺少对象: ''
/book/book.asp, 第 4 行
Call booksubmit()
你本页面有此函数没有,或有没有包含此函数的文件。

此外,
rs.Open sql,Conn,0,1 建议将游标改成:
rs.Open sql,Conn,3,1
或rs.Open sql,Conn,3,2

request2改成request试试,如果ASP里你没写错的话,那就把"Keboy"这个Form的method值改成post.

If request2.Form("Keboy")="xolox" then
是 request2 <-这个的问题吧 改成 request 试试