⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 displayscore.asp

📁 原代码 原代码 原代码 原代码 原代码
💻 ASP
字号:
<!--#include file="conn.inc"-->
<%
sql="select * from exam_score where testid="& request("testid")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,2
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title>原创作品 -- 数据重排1.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta content="Microsoft FrontPage 5.0" name="GENERATOR">
<meta name="ProgId" content="FrontPage.Editor.Document">
<style type="text/css">
.listDataTable { 
	FONT-SIZE: 15px
}
.listTableHead { 
	FONT-WEIGHT: bold; CURSOR: hand
}
.onMouseOnTr {  
	CURSOR: default; COLOR: #ff0000; BACKGROUND-COLOR: #efefef
}
.listTableHeadO {
	FONT-WEIGHT: bold; CURSOR: s-resize; COLOR: #ffffff;BACKGROUND-COLOR: #006699
}
.listHeadClicked {
	FONT-WEIGHT: bold; CURSOR: n-resize; COLOR: #ffffff; BACKGROUND-COLOR: #990033
}
.listHeadClicked0 {
	FONT-WEIGHT: bold; CURSOR: s-resize; COLOR: #ffffff; BACKGROUND-COLOR: #990033
}
</style>
<script language="JavaScript" src="../js/jm_list.js"></script>
<link rel="stylesheet" type="text/css" href="css.css">
</head>

<body id="all" text="#000000">

<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="25">
  <tr>
    <td width="100%">当前位置:<a href="news.asp">系统管理</a> &gt;
    <a href="searchscore.asp">查询成绩</a> &gt; 未审批考试计划查询</td>
  </tr>
</table>
<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
  <tr>
    <td width="100%">
    <p align="center"><b><font color="#FF0000" size="4" face="黑体">保定市公安消防支队《<%=rs("subject")%>》考试成绩一览表</font></b></td>
  </tr>
  <tr>
    <td width="100%" height="30">
    <p align="center"><b>考试编号:<%=rs("testid")%></b></td>
  </tr>
</table>
<table cellSpacing="0" cellPadding="0" border="0" width="100%" style="border-collapse: collapse" bordercolor="#111111">
  <tr>
    <td id="clearStart">
    <table class="listDataTable" id="DataTable" onmouseover="JM_HLTr('onMouseOnTr')" onmouseout="JM_HLTrRestore('')" cellSpacing="1" cellPadding="0" width="100%" border="1" style="border-collapse: collapse" bordercolor="#C0C0C0">
      <tr id="ignore" bgColor="#eeeeee">
        <td class="listTableHead" onclick="JM_PowerList(0)" onyes="head" height="20" bgcolor="#E1E1E1"> </td>
        <td class="listTableHead" onclick="JM_PowerList(0)" onyes="head" height="20" bgcolor="#E1E1E1">
        &nbsp;警官证号</td>
        <td class="listTableHead" onclick="JM_PowerList(1)" onyes="head" bgcolor="#E1E1E1">
        &nbsp;姓名</td>
        <td class="listTableHead" onclick="JM_PowerList(2)" onyes="head" bgcolor="#E1E1E1">
        &nbsp;所在部门</td>
        <td class="listTableHead" onclick="JM_PowerList(3)" onyes="head" bgcolor="#E1E1E1">
        &nbsp;所在单位</td>
        <td class="listTableHead" onclick="JM_PowerList(4)" onyes="head" bgcolor="#E1E1E1">
        &nbsp;岗位</td>
        <td class="listTableHead" onclick="JM_PowerList(5)" onyes="head" bgcolor="#E1E1E1">
        &nbsp;成绩</td>
      </tr>
      <%
i=1
do while not rs.eof
%>
      <tr>
        <td height="20" bgcolor="#E1E1E1">
        <p align="center"><%=i%></td>
        <td height="20">&nbsp;<%=rs("userid")%></td>
        <td>&nbsp;<%=rs("username")%></td>
        <td>&nbsp;<%=rs("department")%></td>
        <td>&nbsp;<%=rs("office")%></td>
        <td>&nbsp;<%=rs("duties")%></td>
        <td>&nbsp;<%=rs("score")%></td>
      </tr>
      <%
i=i+1
rs.movenext
loop
%>
      <tr id="ignore">
        <td align="right" colSpan="7"></td>
      </tr>
    </table>
    </td>
  </tr>
</table>

</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -