标题:菜鸟,求助各路大哥,远水解近渴!!!
取消只看楼主
厚德载物
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2008-3-8
 问题点数:0 回复次数:0 
菜鸟,求助各路大哥,远水解近渴!!!
<%@language=vbscript%>
<%'on error resume next%>
<html>
<head>
<title>顺德通迅录</title>
<style type="text/css">
#head{width:80%;height:30px;display:block;margin-left:10%;margin-top:60px;}
#content{width:80%:height:600px;margin-left:10%;}
h1{font-size:20px;display:block;text-align:center;}
table{width:90%;}
table th{background:#6688cc;height:30px;}
table td{background:#6688ee;height:24px;}
</style>
</head>
<body>
<%
dim db
set db=server.createobject("adodb.connection")
db.open"address"
%>
<div id="head">
<h1>tags</h1>


</div>
<div id="content">

<%
dim tagrs,sql
set tagrs=server.createobject("adodb.recordset")
sql="select * from tags"
tagrs.open sql,db,1
%>

<table class="friend_all">
<tr>
<%
do while not tagrs.eof
%>

<td width="30"><%=tagrs("tag_id")%>??<%=tagrs("tags_name")%></td>

<%
   tagrs.movenext
loop
%>
</tr>
</table>
</div>
</body>

运行提示错误:1   
ADODB.Recordset 错误 '800a0cc1'

在对应所需名称或序数的集合中,未找到项目。

/shunde/news/tags.asp,行 41
搜索更多相关主题的帖子: 顺德 水解 head 
2008-03-08 11:10



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-202482-1-1.html




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

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