急急急求答案 ADODB.Field (0x800A0BCD)BOF 或 EOF 中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。

vic013 vic013 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
错误类型:
ADODB.Field (0x800A0BCD
BOF 或 EOF 中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。/dengluch.asp, 第 181 行

第181行代码:<td width="206"><span class="STYLE5"> <a href="chakan.asp?<%= Server.HTMLEncode(MM_keepBoth) & MM_joinChar(MM_keepBoth) & "name=" & Recordset1.Fields.Item("name").Value %>">查看我的通讯录</a> </span> </td>

原代码:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/xiaoyoulu.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request.QueryString("name") <> "") Then
Recordset1__MMColParam = Request.QueryString("name")
End If
%>
<%
Dim Recordset1
Dim Recordset1_cmd
Dim Recordset1_numRows

Set Recordset1_cmd = Server.CreateObject ("ADODB.Command")
Recordset1_cmd.ActiveConnection = MM_xiaoyoulu_STRING
Recordset1_cmd.CommandText = "SELECT address, E_mail, name, tel FROM xiaoyoulu WHERE name = ?"
Recordset1_cmd.Prepared = true
Recordset1_cmd.Parameters.Append Recordset1_cmd.CreateParameter("param1", 200, 1, 50, Recordset1__MMColParam) ' adVarChar

Set Recordset1 = Recordset1_cmd.Execute
Recordset1_numRows = 0
%>
<%
Dim MM_paramName
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth

Dim MM_removeList
Dim MM_item
Dim MM_nextItem

' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If

MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""

' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
End If
Next

' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
MM_nextItem = "&" & MM_item & "="
If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
End If
Next

' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then
MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "") Then
MM_keepURL = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If

' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
If (firstItem <> "") Then
MM_joinChar = "&"
Else
MM_joinChar = ""
End If
End Function
%>
<!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=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>无标题文档</title>
<!-- TemplateEndEditable -->
<style type="text/css">
<!--
#apDiv1 {
position:absolute;
left:2px;
top:156px;
width:694px;
height:394px;
z-index:1;
}
#apDiv2 {
position:absolute;
left:23px;
top:4px;
width:847px;
height:155px;
z-index:2;
background-color: #33FF33;
}
#apDiv3 {
position:absolute;
left:12px;
top:23px;
width:209px;
height:153px;
z-index:3;
}
h1,h2,h3,h4,h5,h6 {
font-weight: bold;
}
.STYLE1 {
font-size: 60px;
font-weight: bold;
color: #FF9933;
}
#apDiv4 {
position:absolute;
left:23px;
top:161px;
width:846px;
height:273px;
z-index:3;
background-color: #FFFFCC;
}
#apDiv5 {
position:absolute;
left:27px;
top:143px;
width:228px;
height:146px;
z-index:4;
visibility: visible;
}
#apDiv6 {
position:absolute;
left:190px;
top:97px;
width:501px;
height:42px;
z-index:5;
}
.STYLE2 {
color: #FFFF00;
font-size: 24px;
}
.STYLE4 {
color: #FF3300;
font-weight: bold;
font-size: 18px;
}
.STYLE5 {
color: #33FFFF;
font-size: 24px;
font-weight: bold;
}
-->
</style>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>

<body>
<div id="apDiv4">
<div align="center">
<form id="form1" name="form1">
<p class="STYLE5">恭喜您,登录成功!!!</p>
<table width="433" height="67" border="1">
<tr>
<td width="206"><span class="STYLE5"> <a href="chakan.asp?<%= Server.HTMLEncode(MM_keepBoth) & MM_joinChar(MM_keepBoth) & "name=" & Recordset1.Fields.Item("name").Value %>">查看我的通讯录</a> </span> </td>
<td width="211"><span class="STYLE5"><a href="chaxun.asp">查看校友的通讯录</a> </span></td>
</tr>
</table>
<p class="STYLE5"> </p>
</form>
</div>
</div>
<div id="apDiv6">
<div align="center" class="STYLE2">即使我们各奔东西,但我们仍然心连心!</div>
</div>
<div id="apDiv2">
<div align="center" class="STYLE1">广州大学校友录</div>
</div>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>



...全文

相关推荐

数据驱动的电力系统潮流线性化:回归方法【IEEE5节点】(Matlab代码实现)

内容概要:本文提出了一种基于回归方法的数据驱动模型,用于实现电力系统潮流方程的线性化,以降低传统非线性潮流计算的复杂度并提升计算效率。研究聚焦于IEEE5节点标准测试系统,详细阐述了回归模型的构建流程,包括输入特征选择、数据集生成、模型训练与验证等关键环节,并通过Matlab代码实现了完整的算法流程。文中对比了不同回归算法的线性化精度,验证了该方法在电力系统分析、优化调度及实时控制等场景下的有效性与实用性,为后续研究提供了可复现的技术基础与代码支持。; 适合人群:具备电力系统分析基础知识和Matlab编程能力的高校研究生、科研人员以及从事电力系统自动化、智能电网相关工作的工程师。; 使用场景及目标:① 掌握数据驱动方法在电力系统潮流计算中的应用,替代传统迭代求解以提升效率;② 学习如何利用回归模型对复杂非线性系统进行近似建模与线性化处理;③ 借助提供的Matlab代码进行算法复现、性能测试及进一步拓展至其他节点系统或优化问题。; 阅读建议:建议读者结合电力系统潮流计算的基本理论,深入理解数据生成与特征工程的设计逻辑,在运行代码时关注输入输出变量的物理意义,并尝试调整模型参数或更换回归算法以探究其对线性化精度的影响,从而全面提升对数据驱动建模方法的掌握与应用能力。

天天程序猿

龙头企业寻求跨界技术融合,是否有专门支持产业链上下游智能匹配的溯源服务平台?.docx

科易网基于行业知识库+行业大数据+科技资源要素+AI模型,以AI,赋能技术转移、成果转化、技术经理人培训、知识产权管理、区域产业分析与布局、地方科技招商、创新创业大赛等场景,推出科技创新领域的AI工具、场景化服务和数智化解决方案,推动科技创新与产业创新智能化发展。

BIZKEEN

SFT 数据构建 Lite:对话/文档生成 JSONL 并质检,零 Key 离线可跑(Python 源码)

SFT 数据构建 Lite 实战包。从多轮对话或文档片段生成 instruction/input/output JSONL,支持去重、空字段与长度质检、训练/验证拆分和统计报告。规则模板实现,零第三方依赖、零 API Key,可离线运行,含样例与冒烟测试。MIT。作者 blog.csdn.net/mtl1994

matianlongg

windui轻量跨平台桌面 GUI 框架

轻量跨平台桌面 GUI 框架 — 用 Rust 构建内存友好的小工具。

yiersansiwu123d

科技中介服务机构如何利用智能体技术提升服务响应速度与用户粘性?.docx

科技中介服务机构如何利用智能体技术提升服务响应速度与用户粘性?

BIZKEEN
评论 7
收藏 已收藏
分享
返回顶部
vic013
ASP 28,400 成员 356,938 内容