惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
Recent Announcements
Recent Announcements
GbyAI
GbyAI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Microsoft Azure Blog
Microsoft Azure Blog
N
Netflix TechBlog - Medium
人人都是产品经理
人人都是产品经理
MongoDB | Blog
MongoDB | Blog
D
DataBreaches.Net
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
U
Unit 42
腾讯CDC
D
Docker
The GitHub Blog
The GitHub Blog
阮一峰的网络日志
阮一峰的网络日志
Vercel News
Vercel News
I
InfoQ
Jina AI
Jina AI
爱范儿
爱范儿
宝玉的分享
宝玉的分享
博客园 - Franky
G
Google Developers Blog
P
Proofpoint News Feed

博客园 - Lee Vane

无法通过“控制面板”卸载 Office 2003、Office 2007 或 Office 2010 套件的情况下,如何才能将其卸载? 量子恒道统计-淘宝添加步骤 朋友写的,我觉得比较好,批量生产HTML中使用的 使用CSS设计了一个导航栏(仿康盛创想) 文章内容分页 可点击的下拉菜单 Formfieldhints.--表单提示效果 项目分享---google calendar.(日历,java版). asp根据出生时间判断生肖 用 JavaScript 实现网页图片等比例缩放 ASP数据库操作类 新闻标题太长加省略号和对内容太长分页 检查组件是否已经安装,用Jmail组件发送邮件 格式化日期 ASP函数,实现多个功能的弹出对话框 全选并改变TR颜色 选择文字就能选择复选框 简洁的TAB 阿里妈妈的商城分类效果一
ASP多行多列显示代码- 5行
Lee Vane · 2008-10-29 · via 博客园 - Lee Vane

<table width="98%" border="0" align="center">
        <tr>
<%
 Set rs= Server.CreateObject("ADODB.Recordset")
 rs.open "s elect * from links where link_type=1 order by id asc",conn,1,1
 tempnum2=1
 do while not rs.eof
%>
<td height="20"><a href="<%=rs("link_url")%>" target=_blank><%=rs("link_name")%></a></td>
<%
 if (tempnum2 mod 5)=0 then response.write "</tr>" '五列显示mod 5
 tempnum2=tempnum2+1
 rs.movenext
 loop
%>
</tr>
<%
 rs.close
 set rs=nothing
%>
</table>

posted @ 2008-10-29 14:46  Lee Vane  阅读(575)  评论()    收藏  举报