dreamweaver cs5 asp服务器行为重复区域 我想横向重复4次再竖向重复

<td><%While((Repeat1__numRows<>0)AND(NOTRecordset1.EOF))%><tablewidth="302"border="0"... <td><%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<table width="302" border="0" cellpadding="0" cellspacing="5">
<tr>
<td width="292" height="446"><a href="work_hszp.asp?id=<%=(Recordset1.Fields.Item("id").Value)%>"><img src="works_pic/<%=(Recordset1.Fields.Item("fm").Value)%>" alt="" width="292" height="446" /></a></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20"><img src="works_pic/bt1.png" alt="" width="292" height="20" /></td>
</tr>
<tr>
<td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" bgcolor="#e8e8e8"><a href="work_hszp.asp?id=<%=(Recordset1.Fields.Item("id").Value)%>"><%=(Recordset1.Fields.Item("title").Value)%></a></td>
<td width="47"><img src="works_pic/zp1.jpg" alt="" width="47" height="20" /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20"> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%></td>
展开
 我来答 举报
qrzy
2014-12-23 · TA获得超过849个赞
知道小有建树答主
回答量:1897
采纳率:0%
帮助的人:1366万
展开全部
</table>
<%if i mod 4=0 then%></tr><tr><%
end if
i=i+1
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%></td>
本回答被网友采纳
抢首赞 已赞过 已踩过<
你对这个回答的评价是?
评论 举报 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式