📄 adminlisttch.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<!--#include file="function.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<table width="100%" border="0">
<tr>
<td>教师编号</td>
<td>教师姓名</td>
<td>操作</td>
</tr>
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from teacher"
rs.open sql,conn,1,1
do while not rs.eof
%>
<tr>
<td><%=rs("teacherno")%></td>
<td><%=rs("teachername")%></td>
<td><a href="adminaddtch.asp?action=modify&id=<%=rs("teacherid")%>">修改</a>|<a href="adminsavetch.asp?action=del&id=<%=rs("teacherid")%>">删除</a></td>
</tr>
<%
rs.movenext
loop
%>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -