📄 stu_add.asp
字号:
<!--#include file="chkadmin.asp"-->
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel="stylesheet" type="text/css">
<title>学生成绩管理系统</title>
</head>
<body>
<div align="center">
<center>
<form method="post" action="stu_add_ok.asp">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#ffffff" width="100%" height="105">
<tr>
<td width="100%" background="../Images/admin_table_bg.gif" height="24" colspan="2">
<p align="center"><font color="#FFFFFF"><b>学生信息录入</b></font></td>
</tr>
<tr>
<td width="8%" height="19" bgcolor="#D9E6FF" align="center">学 号:</td>
<td width="92%" height="19" bgcolor="#D9E6FF">
<input type="text" name="xid" size="20" tabindex="1"></td>
</tr>
<tr>
<td width="8%" height="18" bgcolor="#D9E6FF" align="center">姓 名:</td>
<td width="92%" height="18" bgcolor="#D9E6FF">
<input type="text" name="stu" size="20" tabindex="2"></td>
</tr>
<tr>
<td width="8%" height="19" bgcolor="#D9E6FF" align="center">性 别:</td>
<td width="92%" height="19" bgcolor="#D9E6FF">
<select size="1" name="sex" tabindex="3">
<option value="未指定" selected>未指定</option>
<option value="男">男</option>
<option value="女">女</option>
</select></td>
</tr>
<tr>
<td width="8%" height="19" bgcolor="#D9E6FF" align="center">班 级:</td>
<td width="92%" height="19" bgcolor="#D9E6FF">
<select size="1" name="classid" tabindex="4">
<%
set fs=server.createobject("adodb.recordset")
fs.open "select * from [class]",conn,1,1
set rs=server.createobject("adodb.recordset")
Do while Not fs.EOF
rs.open "select * from [pro] where id="&fs("proid"),conn,1,1
Response.Write "<option Value="& fs("id") & ">" &rs("xi")&rs("pro")&fs("num")&"班</option>"
rs.Close
fs.MoveNext
Loop
Set rs=nothing
fs.Close
Set fs=nothing
%>
</select></td>
</tr>
<tr>
<td width="8%" height="21" bgcolor="#D9E6FF"> </td>
<td width="92%" height="21" bgcolor="#D9E6FF">
<input type="submit" value="添 加" name="B1" tabindex="5"></td>
</tr>
</table>
</form>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -