手机
当前位置:查字典教程网 >编程开发 >ASP教程 >asp下循环一行多少个
asp下循环一行多少个
摘要:

<%

setrs=server.createobject("adodb.recordset")

sql="Select*fromfriendorderbyidDESC"

rs.Opensql,conn,1

i=1

dowhilenotrs.eof

%><tdalign="left"height="50">

<ahref="<%=rs("url")%>"target="_blank">

<imgsrc="<%=rs("logo")%>"class="framed"width="88"height="31"alt="<%=rs("name")%>"/></a>

</td>

<%

ifimod5=0then

Response.Write("</tr><tr>")

endif

i=i+1

rs.movenext

Loop

rs.close

setrs=nothing

%>

【asp下循环一行多少个】相关文章:

asp之FSO大全

asp中去除内容HTML标签的三个function函数

newasp中下载类

asp限制上传文件大小实例

asp中Byval与Byref的区别

asp中FSO复制文件代码

读取目录下的文件得到一个数组

asp.net中WebService属性记录

asp中用数据库生成不重复的流水号

asp中对ip进行过滤限制函数

精品推荐
分类导航