ADODB.Recordset (0x800A0BB9)

来源:百度知道 编辑:UC知道 时间:2024/05/18 15:52:09
<!--include file="ADOFunctions.inc"-->
<script language="VBScript">
sub gopage()
if windows.event.keycode=13 then
page=document.formpage.pagenum.value
windows.location.href="GuestBook.asp?pagenum=<%=page%>"
end if
end sub
</script>
<%
sqll="select * from liuyan order by 时间 desc"
Set objRS=Server.CreateObject("ADODB.Recordset")
objRS.open sqll,objConn,3
objRS.pageSize=2
if request.querystring("pagenum")="" then
pagenum=1
else
pagenum=clng(request.querystring("pagenum"))
end if
objRS.absolutepage=pagenum
%>
<html>
<head>
<title>分页显示数据
</title>
</head>
<body bgcolor="#F9FFF0" text="#000000">
<table width=550 border=0 cellspacing=0 cellpadding=0 align=center height=60>
<tr>

objRS.open sqll,objConn,1,3

ADODB.Recordset (0x800A0BB9)
参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突

你看看书对一下你写的参数类型是不是那样的