asp代码横排显示产品

来源:百度知道 编辑:UC知道 时间:2024/06/04 23:30:48
这里只有部分代码
详细代码可站内消息联系
或者短信给我你的QQ
原先显示一行一个产品
现在要求显示6行
每行2个产品
<td bgcolor="#CCCCCC" width="1"></td>
<td width=637 valign="top" align="center" bgcolor="#FFFFFF">
<table width="90%" border="0" cellspacing="0" cellpadding="0"><tr><td height=8></td></tr></table>
<%
Set rsprod=Server.CreateObject("ADODB.RecordSet")
rsprod.open sqlprod,conn,1,1
n=0
if rsprod.bof and rsprod.eof then
response.write "<table><tr><td height=100 align=center>对不起,没有相关产品</td></tr></TABLE>"
else
%>

<table width="99%" border="0" align="center" cellpadding=2 cellspacing=1 bgcolor="#fefefe">
<tr><td>目前位置:<a href=main.asp>首页</a> >
<% if s

<td bgcolor="#CCCCCC" width="1"></td>
<td width=637 valign="top" align="center" bgcolor="#FFFFFF">
<table width="90%" border="0" cellspacing="0" cellpadding="0"><tr><td height=8></td></tr></table>
<%
Set rsprod=Server.CreateObject("ADODB.RecordSet")
rsprod.open sqlprod,conn,1,1
n=0
if rsprod.bof and rsprod.eof then
response.write "<table><tr><td height=100 align=center>对不起,没有相关产品</td></tr></TABLE>"
else
%>

<table width="99%" border="0" align="center" cellpadding=2 cellspacing=1 bgcolor="#fefefe">
<tr><td>目前位置:<a href=main.asp>首页</a> >
<% if sublar<>"" then%>
<a href='class.asp?LarCode=<%=s