| 哪位好心人帮帮我 |
| 作者: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 %>  最佳答案 一句话:别老是找一句话的毛病!这样总体看来是没有查到所要的数据!仔细看一下是不是传 值等方面的因素而导致没有查到数据呢?
你要是不信,可将这一行代码作为注释句,下一句ASP是同样的错误!
"SELECT * FROM ADD WHERE 编号 = " + Replace(Recordset1__MMColParam, "'", "''") + "" 如果你了解SQL的话,你解释一下,这句能查到数据吗?你必须要肯定!如果不能查到数据就会出现这样的错误!
建议你用SQL分析工具手动查一下试试看! |
|
|
 |
|
|
|
|
|
|