do while not rs_b.eof...rs_b.movenext...loop

 

<style type="text/css">
<!--
body {
 margin-left: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
}
-->
</style>


<style type="text/css">
<!--
a {
 font-size: 12px;
 color: #333333;
}
a:link {
 text-decoration: none;
}
a:visited {
 text-decoration: none;
 color: #333333;
}
a:hover {
 text-decoration: none;
 color: #FF0000;
}
a:active {
 text-decoration: none;
}

-->
</style>
<link href="web.css" rel="stylesheet" type="text/css" />
<br />
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="29" background="images/lf-cp.jpg" class="about">产品分类</td>
  </tr>
  <tr>
    <td height="71" valign="top" background="images/lfbg.jpg"><br /><table width="98%" border="0" cellpadding="0" cellspacing="0"  >
      <tbody>
        <%
   SortSql="Select * From lb order by id asc"
 Set SortRs= Server.CreateObject("ADODB.Recordset")
 SortRs.Open SortSql,Conn,1,1
 if SortRs.EOF and SortRs.BOF then
  Response.Write "暂无相关数据"
 else
%>
        <% do while not SortRs.EOF %>
        <tr>
          <td width="24%" align="right" valign="middle" ><img src="images/dian.jpg" /></td>
          <td width="76%" height="30" align="left" valign="middle" ><a href="product.asp?lb=<%=SortRs("id") %>"><span >
                    
                   <% =SortRs("title") %>
          </span> </a> </td>
        </tr>
        <tr>
          <td height="4" colspan="2" align="center" valign="middle" ><img src="images/xian.jpg" /></td>
        </tr>
        <%
  SortRs.MoveNext
 Loop
%>
        <%
 End if
 SortRs.Close
 Set SortRs=Nothing

%>
      </tbody>
    </table></td>
  </tr>
  <tr>
    <td><img src="images/lf-lx.jpg" width="211" height="38"></td>
  </tr>
  <tr>
    <td height="62" valign="top" background="images/lfbg.jpg" class="lfzi" class="lfzi"><br />
      联系人:田昆育(坤楠)经理 <br />
      手 机:13066186099<br />
电 话:0769-85335501-3 <br />
传 真:0769-85358406 <br />
网 址:<a href="http://www.jmsdg.com%22%3ewww.jmsdg.com%3cbr/ />
</a></td>
  </tr>
  <tr>
    <td height="62" align="center" background="images/lfbg.jpg"><br /><img src="images/men.jpg" width="200" height="179"></td>
  </tr>
  <tr>
    <td><img src="images/di.jpg" width="211" height="4"></td>
  </tr>
</table>

 

转载于:https://www.cnblogs.com/net2/archive/2010/10/09/1846448.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值