我做的重复记录集 是竖着排列的。代码:
<%
While ((Repeat1__numRows <> 0) AND (NOT RS1.EOF))
%>
<table width="234" border="0" align="center" cellpadding="2" cellspacing="2" id="1">
<tr>
<td width="197"><table width="200" border="0" align="center" cellpadding="2" cellspacing="2" id="2">
<tr>
<td><A HREF="detail.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "shpID=" & RS1.Fields.Item("shpID").Value %>"><img src="<%=(RS1.Fields.Item("image").Value)%>"></A></td>
</tr>
<tr>
<td><A HREF="detail.asp?<%= Server.HTMLEncode(MM_keepNone) & MM_joinChar(MM_keepNone) & "shpID=" & RS1.Fields.Item("shpID").Value %>"><%=(RS1.Fields.Item("shpname").Value)%></A></td>
</tr>
<tr>
<td><p>市场价:<%=(RS1.Fields.Item("scj").Value)%>元</p>
<p>会员价:<%=(RS1.Fields.Item("hyj").Value)%>元</p></td>
</tr>
</table>
<table width="200" border="0" align="center" cellpadding="2" cellspacing="2" id="3">
<tr>
<td><% If MM_offset <> 0 Then %>
<A HREF="<%=MM_moveFirst%>">首页</A>
<% End If ' end MM_offset <> 0 %>
<% If MM_offset <> 0 Then %>
<A HREF="<%=MM_movePrev%>">上一页</A>
<% End If ' end MM_offset <> 0 %>
<% If Not MM_atTotal Then %>
<A HREF="<%=MM_moveNext%>">下一页</A>
<% End If ' end Not MM_atTotal %>
<% If Not MM_atTotal Then %>
<A HREF="<%=MM_moveLast%>">最后一页</A>
<% End If ' end Not MM_atTotal %></td>
</tr>
</table>
<p> </p></td>
</tr>
</table>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
RS1.MoveNext()
Wend
%>
预览结果
:
我要让它们横着排。要怎样改代码。