📄 depart_index.asp
字号:
<!--#include file="conn.asp" -->
<%
sql = " select * from depart order by id desc "
set rs = Server.CreateObject("Adodb.Recordset")
rs.open sql,conn,0,1
%>
<html>
<head>
<title>:::宜兴市人民医院:::</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../main.css" type="text/css">
</head>
<body text="#000000" leftmargin="0" topmargin="0">
<div align="center">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<%
if rs.eof and rs.bof then
Response.Write("暂时无数据。")
Response.end()
end if
do while not rs.eof
%>
<tr>
<td height="25" valign="middle"><a href="depart.asp?id=<%= rs("id") %>" target="_parent"><%= rs("depart") %></a></td>
</tr>
<%
rs.movenext
loop
rs.close
set rs = nothing
closedatabase
%>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -