📄 scorechaclassok.asp
字号:
<!--#include file="conn.asp"-->
<% xino=trim(request.form("xino"))
zhuanye=trim(request.form("zhuanye"))
banno=trim(request.form("banno"))
jino=trim(request.form("jino"))
exec="select * from 课程 where xino='"+xino+"' and zhuanye='"+zhuanye+"' and jino='"+jino+"' and banno='"+banno+"'"
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
if rs.eof then
response.write "可能条件写错,请重新查询!"
response.end
end if
%>
<html>
<head>
<title>成绩查询结果班级情况</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000" background="imags/033.gif">
<div align="center">
<p><b>班 级 成 绩</b></p>
<p> </p>
<table width="738" border="1" height="54" cellspacing="1" cellpadding="0" bordercolor="#CCCCCC">
<tr bgcolor="#CCCCFF">
<td height="28" width="52">
<div align="center"><font face="华文新魏" size="5" color="#000000">学号</font></div>
</td>
<td height="28" width="51">
<div align="center"><font color="#000000" size="5" face="华文新魏">姓名</font></div>
</td>
<td height="28" width="98"> </td>
<td height="28" width="79">
<div align="center"></div>
</td>
<td height="28" width="94" bgcolor="#CCCCFF">
<div align="center"></div>
</td>
<td height="28" width="73"> </td>
<td height="28" width="67"> </td>
<td height="28" width="57">
<div align="center"><font face="华文新魏" size="5" color="#000000">排名</font></div>
</td>
<td height="28" width="52"><font color="#000000" size="5" face="华文新魏">总分</font></td>
<td height="28" width="82"><font color="#000000" size="5" face="华文新魏">平均分</font></td>
</tr>
<%
do while not rs.eof
%>
<tr>
<td width="52" height="11"><%=rs("week")%></td>
<td width="51" height="11"><%=rs("jieci")%></td>
<td width="98" height="11"><%=rs("lessonname")%></td>
<td width="79" height="11"><%=rs("teachername")%></td>
<td width="94" height="11"><%=rs("zhuanye")%></td>
<td width="73" height="11"><%=rs("jino")%></td>
<td width="67" height="11"><%=rs("banno")%></td>
<td width="57" height="11"><%=rs("room")%></td>
<td width="52" height="11"><%=rs("weekname")%></td>
<td colspan="2" height="11" width="82"><%=rs("pro")%></td>
</tr>
<%
rs.movenext
loop
%>
</table>
<p> </p>
<p><b><font size="4" color="#CC6600"><a href="scorechaxun.asp"><img src="imags/041.gif" width="84" height="16" border="0"></a></font></b></p>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -