求助分页出现的错误~~~~~

来源:百度知道 编辑:UC知道 时间:2024/05/16 13:20:28
<!--#include file="conn.asp"-->
<!--以上为链接数据库定义文件-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="cp.css" type="text/css" rel="stylesheet">
</head>
<body>
<%
dim kind,strsql2,objRS,page,pagesize
kind = Request("kind")
page=Request("page")
if Request("page")="" then page=1
strSQL2 = "SELECT 货号,货物名称,箱,市场零售价,单位,外形尺寸,照片 FROM 产品信息 where 产品分类 = '" & kind & "' order by 货号 desc"
Set objRS = Server.CreateObject("ADODB.Recordset&quo

主要问题是出在noticeser.asp的第55行中。
80040e21错误出现的几种可能性:

1、SQL语句,插入或更新数据的时候,包含了自动编号的字段。
2、SQL语句插入或更新数据的时候,数据类型不正确
如最常见的把文本插入到数字型字段中等等。

建议你仔细检查一下noticeser.asp的第55行中的代码。