日期:2014-05-16  浏览次数:21202 次

如何做产品展示页面?横竖排列
新闻只要竖着排下来就好了。一个for循环解决问题。
可是还有一个产品展示的页面,要横排5个,然后换行再横排5个,一直到该页面显示产品数量结束。
因为用到了表格嵌套,所以不知道该么写了。


------解决方案--------------------
index=0
response.write "<tr>"
while not rs.eof
index=index+1
if index mod 5 =0 then response.write "</tr></tr>"
wend
response.write "</tr>"