📄 kstype.asp
字号:
<!-- #include file="cookies.asp" -->
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div align="center">
<table width="90%" border="0" cellspacing="0" cellpadding="0" height="25" bgcolor="#CCCCCC">
<tr>
<td>
<div align="center"><b>试卷分类</b></div>
</td>
</tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25">
<form name="form1" method="post" action="kstypeaddsave.asp">
<div align="center">
<p> 分类名:
<input type="text" name="kstype">
</p>
<p>考试时间:
<input type="text" name="kstime">
</p>
<p>是否开考:
<select name="kk">
<option value="true">是</option>
<option value="false" selected>否</option>
</select>
</p>
<p>
<input type="submit" name="Submit" value="增加">
</p>
</div>
</form>
</td>
</tr>
</table>
<p> </p>
<table width="50%" border="0">
<!-- #include file="conn.asp" -->
<%
set rs=server.createobject("adodb.recordset")
sql="select * from kstype order by id desc"
rs.open sql,conn,1,1
if not rs.eof then
do while not rs.eof
%>
<tr bgcolor="#D8EDFE">
<td height="25"><a href="sjedit1.asp?id=<%=rs("id")%>"><%=trim(rs("kstype"))%></a></td>
<td width="100" height="25">
<div align="center"><a href="kstypeedit.asp?id=<%=rs("id")%>">修改</a></div>
</td>
<td width="100" height="25">
<div align="center"><a href="kstypedel.asp?id=<%=rs("id")%>">删除</a></div>
</td>
</tr>
<%rs.movenext
loop
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</table>
<p> </p>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -