标题:重复区域问题
取消只看楼主
wujiawen312
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2008-6-11
 问题点数:0 回复次数:1 
重复区域问题



我想做到这个效果,就是横向重复2次后换行..显示4条记录!请问这个怎样做!简单点.弄点说明好吗?
<%
        sql = "SELECT * FROM ZJnews ORDER BY postdate desc"   
                     Set rs = Server.CreateObject("ADODB.Recordset")  
                     rs.OPEN sql,Conn,1,1
                     %>
                        

                        
                        
                        
                        

                    <table width="280" height="96" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="99" rowspan="3" align="center" valign="middle"><img name="pImg" src='<%="./images/"&rs("picture")%>' width="90" height="90" alt=""></td>
                        <td width="148" height="20" align="center" valign="middle"><%=rs("ZJname")%></td>
                        <td width="33">&nbsp;</td>
                      </tr>
                      <tr>
                        <td height="20" align="center" valign="middle"><%=rs("cbdate")%></td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="left" valign="top"><%=rs("jieshao")%></td>
                        <td>&nbsp;</td>
                      </tr>
                    </table>
                    
<%rs.movenext
'loop
rs.close
set rs=nothing
%>
搜索更多相关主题的帖子: 区域 效果 记录 
2008-06-26 10:55
wujiawen312
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2008-6-11
得分:0 
好像不行阿.~是竖着来读出的..~咋办?!
2008-06-26 17:23



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-221319-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.148455 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved