| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 843 人关注过本帖
标题:ADODB.Field (0x80020009)错误要怎么解决?
只看楼主 加入收藏
favoriteran
Rank: 1
等 级:新手上路
帖 子:142
专家分:0
注 册:2006-3-10
收藏
 问题点数:0 回复次数:2 
ADODB.Field (0x80020009)错误要怎么解决?

错误类型:
ADODB.Field (0x80020009)
/bysolution.asp

请问这是什么错误......该怎么解决啊???请大家帮帮忙......



<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="inc/conn.asp"-->
<!-- #include file="inc/checklogin.asp"-->
<!--#include file="inc/md5.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>bysolution</title>
<link href="inc/style.css" rel="stylesheet" type="text/css">
</head>

<body>
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select item.*,product.*,reason.*,solution.* from item,product,reason,solution where item.itemid="&cint(trim(request("item")))&" and item.productid=product.productid and solution.reasonid=reason.reasonid and solution.itemid=item.itemid",conn,3,3
%>
<table width="80%" border="0" align="center" cellpadding="3" cellspacing="1" class="table">
<tr>
<td width="21%" height="19">item name</td>
<td width="22%">product</td>
<td width="31%">reason</td>
<td width="26%">ino</td>
</tr>
<tr>
<td><%=rs("itemname")%></td>
<td><%=rs("productname")%></td>
<td><%=rs("reason")%></td>
<td><%=rs("ino")%></td>
</tr>
</table>
<table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="right"><a href="bysolution.asp?page=<%=page-1%>">Preview</a> <a href="bysolution.asp?page=<%=page+1%>">Next</a></td>
</tr>
</table>
<br>
<center>
</center>
</body>
</html>

搜索更多相关主题的帖子: Field ADODB 
2006-03-15 10:23
favoriteran
Rank: 1
等 级:新手上路
帖 子:142
专家分:0
注 册:2006-3-10
收藏
得分:0 
拜托大家帮帮忙了,发发慈悲.....我急啊

海納百川,一切從源開始........
2006-03-15 13:27
冰镇柠檬汁儿
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:北京
等 级:版主
威 望:120
帖 子:8078
专家分:6657
注 册:2005-11-7
收藏
得分:0 
<%
sql = "select item.*,product.*,reason.*,solution.* from item,product,reason,solution where item.itemid="&cint(trim(request("item")))&" and item.productid=product.productid and solution.reasonid=reason.reasonid and solution.itemid=item.itemid",
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,1
%>

你试试吧,不行的话,再到数据库里检测一下你的sql语句能不能查询出东西

本来无一物,何处惹尘埃
It is empty at all here, Why pm 2.5 is so TMD high!
2006-03-15 18:05
快速回复:ADODB.Field (0x80020009)错误要怎么解决?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013975 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved