📄 categorymodify.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>
<!---#include file="conn.asp"--->
<link href="main.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script>
function checkForm(){
if(form1.name.value==""){
alert("请填写科目名称!");
form1.name.focus();
return false;
}
return true;
}
</script>
<%
set rst=conn.execute("select * from category where id="&request.querystring("id"))
%>
</head>
<body>
<h3 align="center">组卷管理</h3>
<div align="center">添加新试卷模板</div>
<hr>
<form name="form1" id="form1" method="post" action="CategoryUpdate.asp?oper=modify&id=<%=request.querystring("id")%>" onsubmit="return checkForm();">
<table width="234" border="0" align="center" cellpadding="2" cellspacing="2" bordercolor="#999999">
<tr align="center">
<td width="62" bgcolor="#F3F3F3">名称: </td>
<td width="163"><input name="name" type="text" id="name" value="<%=rst("name")%>"/></td>
</tr>
<tr align="center">
<td colspan="2"><input type="submit" name="Submit" value="提交" />
<input type="reset" name="Submit2" value="重置" /></td>
</tr>
</table>
<%
rst.close()
conn.close()
set rst=nothing
set conn=nothing
%>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -