asp 结束语句

来源:百度知道 编辑:UC知道 时间:2024/09/21 23:16:04
<table width="691" height="220" border="0" cellpadding="0" cellspacing="5">
<tr>
<%
strSql="select * from sp where id>0 ORDER BY id desc"
set rsc= server.createobject("adodb.recordset")
rsc.open strsql,conn
i=1
do while not rsc.eof and not rsc.bof
i=i+1
%>
<td width="26%" height="220" class="font01"> <p align="center"><strong><a href="guank.asp"><img src="<%=rsc("pic2")%>" width="150" height="70" border="0"></a><br>
</strong><a href="guank.asp"><%=rsc("ti")%></a><br>
<%
rs

在每个循环下面加
rsc.movenext

不写=死循环
你的程序

这段代码很有问题。

没法改只有重写。

最后要加

loop

没有这个,你怎么运行啊

rsc.movenext
loop