?? scorechaxun.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" background="imags/bg.jpg">
<div align="left">
<p align="center"><font size="6"><b><font size="5" color="#333333">學 生 成 績 查 詢</font></b></font></p>
<p align="center"><img src="imags/l2_1.gif" width="750" height="10">
</p>
<div align="center">
<p><font color="#993300">班級成績</font> </p>
</div>
<table width="763" border="0" height="194">
<tr>
<td>
<div align="center">
<table width="648" border="1" height="63" cellspacing="0" bordercolor="#CCCCCC" cellpadding="0">
<tr>
<form name="form1" method="post" action="SEARCHfenxi.asp">
<td height="24" width="64">班級號:</td>
<td height="24" width="22">
<select name="classno" size="1">
<option value="--選擇班級--" selected>--選擇班級--</option>
<% set rs=server.createobject("ADODB.Recordset")
sql="select * from 班級"
rs.open sql,conn,1,1
do while not rs.eof
%>
<option value="<%=rs("classno")%>"><%=rs("classno")%></option>
<% rs.movenext
loop
%>
</select>
</td>
<td height="24" width="107">學期:</td>
<td height="24" width="84">
<select name="xueqi">
<option selected>第一學期</option>
<option>第二學期</option>
<option>第三學期</option>
<option>第四學期</option>
<option>第五學期</option>
<option>第六學期</option>
</select>
</td>
<td height="24" width="107">
<p align="center">
<input type="submit" name="Submit" value="查詢班級表">
</td>
</form>
</tr>
</table>
<p><font color="#993300">個人成績</font></p>
<table width="666" border="1" height="63" cellspacing="0" bordercolor="#CCCCCC" cellpadding="0">
<tr>
<form name="form2" method="post" action="scorechastuok.asp">
<td height="24" width="74">班級號:</td>
<td height="24" width="122">
<select name="classno" size="1">
<option value="--選擇班級--" selected>--選擇班級--</option>
<% set rs=server.createobject("ADODB.Recordset")
sql="select * from 班級"
rs.open sql,conn,1,1
do while not rs.eof
%>
<option value="<%=rs("classno")%>"><%=rs("classno")%></option>
<% rs.movenext
loop
%>
</select>
</td>
<td height="24" width="49">姓名:</td>
<td height="24" width="90">
<input type="text" name="studentname" size="10">
</td>
<td height="24" width="105">
<select name="xueqi">
<option selected>第一學期</option>
<option>第二學期</option>
<option>第三學期</option>
<option>第四學期</option>
<option>第五學期</option>
<option>第六學期</option>
</select>
</td>
<td height="24" width="102">
<p align="center">
<input type="submit" name="Submit2" value="查詢個人成績">
</td>
</form>
</tr>
</table>
</div>
</td>
</tr>
</table>
<div align="center"></div>
<p align="center"><font color="#330000"><a href="index1.asp"><img src="imags/0000005.gif" width="137" height="30" border="0"></a></font></p>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -