首 页健康生活新 闻留 言骗 子美女图片网络安全论 坛问吧注册码大全bt资源
张筱雨人体艺术   汤芳人体艺术  汤加丽人体艺术  石靖人体艺术   刘亦菲人体艺术   汤唯人体艺术  张柏芝人体艺术   人体艺术摄影
人体艺术摄影        BODY ART PHOTOGRAPHY
                                           Human essence of art, the human feelings of the perfect lens
首页
您当前的位置:地球村问吧电脑技术编程语言 → 问吧内容 设为首页   加入收藏   联系我们
哪位好心人帮帮我
作者:meilibao  来源:地球村  发布时间:2007-8-20 10:03:55
Body art from the West, male body is mainly a reflection of the strength of the United States. While the female body is mainly a reflection of the kind of a female-specific negative of tender.
Body art is static human form, does not contain sexual intercourse is exposed genitals or other to tease of limb movements. Good photographs focus on the human body is the use of light and shadow. The body was naked from the arts, the human body art is not carnal desire , vulgar. Accurately speaking, and now, the "body art" is not very precise. Art classification is based on the auditory,
哪位好心人帮帮我
悬赏分:0 - 解决时间:2007-8-17 22:47
练习时出现这个错误.
错误类型:
ADODB.Field (0x800A0BCD)
BOF 或 EOF 中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。
/6Replay.asp, 第 49 行

代码是:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/web.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request.QueryString("编号") <> "") Then
Recordset1__MMColParam = Request.QueryString("编号")
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_web_STRING
Recordset1.Source = "SELECT * FROM ADD WHERE 编号 = " + Replace(Recordset1__MMColParam, "'", "''") + ""
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
body {
background-color: #CCCC66;
}
.STYLE1 {
color: #000000;
font-size: 36px;
font-family: "黑体";
}
.STYLE2 {font-size: 18px}
-->
</style></head>

<body>
<div align="center" class="STYLE2">
<p>管理员回复</p>
<form id="form1" name="form1" method="post" action="">
<table width="760" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="350"><div align="left">编号:<%=(Recordset1.Fields.Item("编号").Value)%></div></td> (提示是这行出了问题,请问我该怎么解决)
<td width="410" class="STYLE2"><div align="left">标题:<%=(Recordset1.Fields.Item("留言标题").Value)%></div></td>
</tr>
<tr>
<td width="350" class="STYLE2"><div align="left">发表人姓名:<%=(Recordset1.Fields.Item("发布人姓名").Value)%></div></td>
<td width="410" rowspan="2" class="STYLE2"><div align="left">留言内容:<%=(Recordset1.Fields.Item("留言内容").Value)%></div></td>
</tr>
<tr>
<td width="350" class="STYLE2"><div align="left">发布时间:<%=(Recordset1.Fields.Item("发布时间").Value)%></div></td>
</tr>
<tr>
<td colspan="2" class="STYLE2"><p> </p>
<p> </p>
<p> </p>
<p> </p>
<p align="center">回复内容:
<textarea name="textarea" cols="40" rows="8"></textarea>
</p> </td>
</tr>
</table>
</form>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</div>

</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
提问者:陪陪0311 - 助理 三级
最佳答案
一句话:别老是找一句话的毛病!这样总体看来是没有查到所要的数据!仔细看一下是不是传 值等方面的因素而导致没有查到数据呢?

你要是不信,可将这一行代码作为注释句,下一句ASP是同样的错误!

"SELECT * FROM ADD WHERE 编号 = " + Replace(Recordset1__MMColParam, "'", "''") + ""
如果你了解SQL的话,你解释一下,这句能查到数据吗?你必须要肯定!如果不能查到数据就会出现这样的错误!

建议你用SQL分析工具手动查一下试试看!
回答者:kusirp21 - 高级经理 七级 8-16 08:54
您觉得最佳答案好不好?目前有 0 个人评价

50% (0)

50% (0)
[ ] [返回上一页] [打 印]
Copyright © 2007 Diqiuc.Com. All Rights Reserved .豫ICP备07001840 Powered by Diqiuc.Com