📄 user.asp
字号:
<?xml version="1.0" encoding="gb2312"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="main.css" rel="stylesheet" type="text/css">
<!---#include file="conn.asp"--->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<H3 align="center">用户管理</H3>
<div align="center"><a href="useradd.asp">添加新用户</a></div>
<hr width="100%">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="2" bordercolor="#CCCCCC">
<tr align="center">
<th width="119" bgcolor="#F3F3F3">姓名</th>
<th width="102" bgcolor="#F3F3F3">权限</th>
<th width="225" bgcolor="#F3F3F3">添加日期</th>
<th colspan="2" bgcolor="#F3F3F3">操作</th>
</tr>
<%
set rst=conn.execute("select * from Manager")
while not rst.eof
%>
<tr align="center" bgcolor="#E0F1FC">
<td><%=rst("Name")%></td>
<td><%=rst("role")%></td>
<td><%=rst("AddDate")%></td>
<td width="67"><a href="UserModify.asp?id=<%=rst("id")%>">修改</a></td>
<td width="81"><a href="UserUpdate.asp?oper=del&id=<%=rst("id")%>" onclick="return confirm('确定要删除吗?');">删除</a></td>
</tr>
<%
rst.movenext
wend
rst.close()
conn.close()
set rst=nothing
set conn=nothing
%>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -