展会信息港展会大全

asp 指定读取前几条记录 android软件开发教程
来源:互联网   发布日期:2016-03-01 11:16:31   浏览:1028次  

导读:%dim sqlnote2 sqlnote2=select top 8 * from note1 order by id desc call opendb() rs.open sqlnote2,conn,1,1 if not rs.eof then do while not rs.eof % tr td width=5 height=22 align=left bgcolor=#FFFFFF /td td width=169 height=27 align=left bgc...

<%dim sqlnote2

sqlnote2="select top 8 * from note1 order by id desc"

call opendb()

rs.open sqlnote2,conn,1,1

if not rs.eof then

do while not rs.eof

%>

<tr>

<td width="5" height="22" align="left" bgcolor="#FFFFFF"> </td>

<td width="169" height="27" align="left" bgcolor="#FFFFFF"><img src="index_files/dot_email.gif" width="5" height="5" /> <a href="<%=rs("file_path")%>" target="_blank" class="prodcut" title="<%=rs("title")%>"><%=rs("title")%></a>

<% if rs("send_date")=date() then

response.write("<img src=index_files/new1.gif />")

else response.write(rs("send_date"))

end if%></td>

<td width="1" height="5" align="left" bgcolor="#FFFFFF"> </td>

</tr>

<%

rs.movenext

loop%>

<tr >

<td colspan="3" align="right" bgcolor="#FFFFFF" ><a href="note.asp教程" class="page" >更多信息...</a></td>

</tr>

<%

else

%>

<trclass="button3">

<td colspan="3" bgcolor="#FFFFFF">暂时没有通知通告</td>

</tr>

<%

end if

call closedb()

%>

赞助本站

人工智能实验室

相关热词: 开发 编程 android

AiLab云推荐
推荐内容
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港