📄 sjedit.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="sjaddsave.asp">
<table width="90%" border="0" cellspacing="0" cellpadding="0" height="25" bgcolor="#CCCCCC">
<tr>
<td>
<div align="center"><b>增加试题</b></div>
</td>
</tr>
</table>
<br><table width="90%" border="0">
<tr bgcolor="#D8EDFE">
<td height="25" width="100">所属分类:</td>
<td height="25">
<%
set rs=server.createobject("adodb.recordset")
sql="select * from kstype"
rs.open sql,conn,1,1
if not rs.eof then
%>
<select name="kstypeid">
<%do while not rs.eof%>
<option selected value="<%=rs("id")%>"><%=rs("kstype")%></option>
<%rs.movenext
loop
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</select>
</td>
</tr>
<tr bgcolor="#D8EDFE">
<td height="25" width="100">试题:</td>
<td height="25">
<input type="text" name="title" maxlength="100" size="50">
(100个字符以内)</td>
</tr>
<tr bgcolor="#D8EDFE">
<td height="25" width="100">答案A:</td>
<td height="25">
<input type="text" name="a">
</td>
</tr>
<tr bgcolor="#D8EDFE">
<td height="25" width="100">B:</td>
<td height="25">
<input type="text" name="b">
</td>
</tr>
<tr bgcolor="#D8EDFE">
<td height="25" width="100">C:</td>
<td height="25">
<input type="text" name="c">
</td>
</tr>
<tr bgcolor="#D8EDFE">
<td height="25" width="100">D:</td>
<td height="25">
<input type="text" name="d">
</td>
</tr>
<tr bgcolor="#D8EDFE">
<td height="25" width="100">正确答案:</td>
<td height="25">
<select name="da">
<option value="a" selected>A</option>
<option value="b" select>B</option>
<option value="c" select>C</option>
<option value="d" select>D</option>
</select>
</td>
</tr>
</table>
<input type="submit" name="Submit" value="增加">
<input type="reset" name="Submit2" value="重写">
</form>
<p> </p>
<p> </p>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -