这段代码错误在哪?(马上结帖)

hollandhut hollandhut 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<%
set rsd=server.createobject("adodb.recordset")
rsd.open "select top 10 from product order by id desc",conn,1,1
%>

<TR>
<%
if rsd.bof or rsd.eof then response.write"暂时没有产品图片!"
else
do
%>
<td width="17%" valign="top"><a href="productsview.asp?id=<%=rsd("id")%>"><img src="<%=rsd("pic")%>" width="94" height="107" border="0"></a></td>
<%rsd.movenext
loop
end if
%>
</TR>
<%
rsd.close
set rsd=nothing
%>

错误信息Microsoft VBScript compilation 错误 '800a03ea'

Syntax error

/ys1/index.asp,行 55

else
^
...全文
评论 2
收藏 已收藏
分享
返回顶部
hollandhut
ASP 28,401 成员 356,940 内容