📄 scoresetshow.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="CheckLogin.asp"-->
<!--#include file="StudentConn.asp" -->
<%
DTestName=Request("DTestName")
Dim msg:msg="月库初始化完成!"
Set RS1 = Server.CreateObject("ADODB.Recordset")
RS1.ActiveConnection = MM_StudentConn_STRING
RS1.Source = "select * from " & DTestName & " order by StudentNum asc"
RS1.CursorType = 0
RS1.CursorLocation = 3
RS1.LockType = 3
RS1.Open()
Set RS2 = Server.CreateObject("ADODB.Recordset")
RS2.ActiveConnection = MM_StudentConn_STRING
RS2.Source = "select * from subject order by id asc"
RS2.CursorType = 0
RS2.CursorLocation = 3
RS2.LockType = 3
RS2.Open()
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>月库初始化结果查看</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2600.0" Name=GENERATOR>
<link href="home.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE2 {color: #0066cc; font-size: 18px;}
-->
</style>
</HEAD>
<BODY text=#000000 bgColor=#f7f7ff leftMargin=0 topMargin=0>
<!--#include file="ScoreManage_Top.asp"-->
<TABLE cellSpacing=0 cellPadding=5 width=500 align=center border=1 bordercolor="#CCCCFF" style="border-collapse:collapse">
<TR>
<TD align="center" colspan="2" class="STYLE2" height="70">月库初始化结果查看</TD>
</TR>
<tr>
<td align="center" height="40"><b><font color="#FF0000">月库名称:</font></b> <%=DTestName%><font color="#FF0000"><b><font color="#0066cc"> </font></b></font></td>
<td align="center">共找到 <font color="#FF0000"><%=Rs1.RecordCount%></font> 条记录!</td></tr>
<tr>
<td colspan="2" align="center"><br>
<table cellspacing=0 border=1 cellpadding="3" bordercolor="#FFCC00" style="border-collapse:collapse">
<tr align="center" valign="middle" bordercolor="#FFCC00">
<td width="60"><font color="#000000"><strong>编 号</strong></font></td>
</tr>
<tr align="center" valign="middle">
<td height="20" nowrap><font color="#000000"><%=(rsScore.Fields.Item("StudentNum").Value)%></font></td>
<%
For i = LBound(ArrSubject) To UBound(ArrSubject)
strSubject=trim(cstr(ArrSubject(i)))
strScore=rsScore.Fields.Item(strSubject).Value
if strScore<>"" and i>1 Then
strScore=Round(strScore,2)
end if
if IsNull(strScore) then strScore=0
response.write "<td height='20'>" & strScore & "</td>"
next
%>
</tr>
</table>
</TD>
</TR>
</TABLE>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<Iframe src="CopyRight.asp" width="760" height="100" marginheight="0" marginwidth="0" scrolling="NO" frameborder="0" name="CopyRight"></iframe>
</td>
</tr>
</table></BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -