展会信息港展会大全

asp 简单读取数据表并列出来
来源:互联网   发布日期:2016-03-01 11:16:16   浏览:2218次  

导读:call opendb() rs.open sql6,conn,1,1 do while not rs.eof % tr td height=25 align=left bgcolor=#FFFFFFa href=display.asp?id=%=rs(id)%table_s=hot_lm target=_blank class=prodcut img src=index_files/dot_email.gif width=5 height=5 border=0 / %=r...

call opendb()

rs.open sql6,conn,1,1

do while not rs.eof

%>

<tr>

<td height="25" align="left" bgcolor="#FFFFFF"><a href="display.asp?id=<%=rs("id")%>&table_s=hot_lm" target="_blank" class="prodcut"><img src="index_files/dot_email.gif" width="5" height="5" border="0" /><%=rs("title")%></a></td>

<td height="25" bgcolor="#FFFFFF"><%=rs("send_date")%></td>

<td height="25" align="center" bgcolor="#FFFFFF">专题报道</td>

</tr>

<%rs.movenext

loop

else%>

<tr>

<td align="right">

<%response.write("暂时没有相关内容,或你是非法进入!")%>

</td>

</tr>

</table>

<%

end if

call closedb()%>

赞助本站

人工智能实验室

相关热词: 开发 编程 android

AiLab云推荐
展开

热门栏目HotCates

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