📄 sinfo.asp
字号:
<!-- #include file="cookies.asp" -->
<!-- #include file="conn.asp" -->
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div align="center">
<form name="form1" method="post" action="saddsave.asp">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" bgcolor="#CCCCCC">
<div align="center"><b>增加考生</b></div>
</td>
</tr>
</table>
<table width="90%" border="0" height="30">
<tr>
<td width="40%" height="30">
<div align="right">姓名:</div>
</td>
<td height="30">
<input type="text" name="student">
</td>
</tr>
<tr>
<td width="40%" height="30">
<div align="right">密码:</div>
</td>
<td height="30">
<input type="text" name="pass" value="">
</td>
</tr>
</table>
<br>
<input type="submit" name="Submit" value="增加">
<input type="reset" name="Submit2" value="重写">
</form>
<table width="60%" border="0">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from studentinfo order by id desc"
rs.open sql,conn,1,1
if not rs.eof then
do while not rs.eof
%>
<tr bgcolor="#F7F5E6">
<td height="25"><%=trim(rs("student"))%></td>
<td height="25" width="100">
<div align="center"><a href="sedit.asp?id=<%=trim(rs("id"))%>&type=edit">修改</a></div>
</td>
<td height="25" width="100">
<div align="center"><a href="sedit.asp?id=<%=rs("id")%>&type=del">删除</a></div>
</td>
</tr>
<%
rs.movenext
loop
end if
rs.close
set rs=nothing
%>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -