asp 多行多列显示

来源:互联网 发布:拍一部网络电影多少钱 编辑:程序博客网 时间:2024/06/09 10:06

我需要的答案是多行多列显示的情况下再分页显示

现在是一列多行显示的,要改成多行多列显示,哪位高手能帮我搞定,不胜感激,源文件因在此字数太多被限,请用下面地址看源文件:

<table align='center' cellpadding='0' cellspace='0' border='0'><tr> <td width="287" valign='top' id='demo1'><table Class=border width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><%    set RsPic=server.createobject("adodb.recordset")    sql="select top 9 * from zf11_p_news where isbest=1 ORDER BY id DESC"    RsPic.open sql,conn,1,1    if RsPic.eof or RsPic.bof then    Call NoPic("暂无图文新闻")    end if%>                  <tr>                    <td height="621" valign="top"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">                        <%i=1 %>                        <TR>                          <TD><table width="100%" border="0" cellspacing="1" cellpadding="0">                              <%i=1 %>                              <TR>                                <% Do While Not RsPic.EOF%>                                <TD><% Call zf11_NewsShowPic(RsPic("pic_spic"),RsPic(0),RsPic("pic_name"),110,90,16) %></td>                                <% if i mod 3 =0 then%>                              </TR>                              <tr>                                <%end if%>                                <%         i=i+1          if i >= 10 then exit do          RsPic.MoveNext          loop         %>                              </tr>                                                       </table></TD>                        </tr>                    </table></td>                  </tr>                </table> </td> <td width="12" valign=top id=demo2></td></tr></table>

原创粉丝点击