
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> 展开
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> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询