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

📄 adminlook2.asp

📁 能自动计算总分、平均分及格率等各种统计数据。在统计时你还可以选择统计全部学科或部分学科;在使用中可自由增删成绩、人员
💻 ASP
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>25175</title>
<style type="text/css">
<!--
@import url("20041026_25175_stry_css.css");
a {
	font-size: 12px;
	text-decoration: none;
}
.style1 {font-size: 24px}
-->
</style>
</head>
<body>
<%
	bj=request("bj")
	set rs=server.createobject("adodb.recordset")
conn = "DBQ=" + server.mappath("class_cj.mdb") + ";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
if request("bj")<>"" then
	sql="select * from bbs1 where bj like'" & bj & "'"
else
	sql="select top 1 * from bbs1"
end if
rs.Open sql,conn,1,1
totalput=rs.RecordCount
if rs.EOF and  rs.BOF then
	Response.Write "当前没有这个班级学生的成绩~~~~~~~~~~"
else
%>

<table width="644"  border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#97C4CA" bgcolor="FDFEF9">
          <tr>
          <td valign='top'><div align=center>
              <p class="style1">&nbsp;</p>
                <p class="style1">25175成绩管理系统</p>
                <p class="style1" align="left"><font size="4"> 班级:<%=rs("bj")%></font></p>
                <table width="664" border="0" cellpadding="0" cellspacing="1" height="16">
                  <tr> 
                    <td width="78" align="center" height="13"> 
                      <div align="left">学号</div>
                    </td>
                    <td width="94" align="center" height="13"> 
                      <div align="left">姓名</div>
                    </td>
                    <td width="102" align="center" height="13"> 
                      <div align="left">课程</div>
                    </td>
                    <td width="85" align="center" height="13"> 
                      <div align="left">成绩</div>
                    </td>
                    <td width="87" align="center" height="13"> 
                      <div align="left">学期</div>
                    </td>
                    <td width="92" align="center" height="13"> 
                      <div align="left">类型</div>
                    </td>
                    <td width="118" align="center" height="13"> 
                      <div align="left">操作</div>
                    </td>
                  </tr>
                </table>
                <table width="662" height="22" border="0">
                  <%
	do while not rs.eof
%>
                  <tr> 
                    <td width="74" height="20" align="left"">
                    
                      <%=rs("xh")%></td>
                    <td width="88" align="left"><%=rs("user")%></td>
                    <td width="100" align="left"><%=rs("kc")%></td>
                    <td width="86" align="left"><%=rs("cj")%></td>
                    <td width="80" align="left"><%=rs("xq")%></td>
                    <td width="92" align="left"><%=rs("lx")%></td>
                    <td width="112" align="left">
                      <div align="left"><a href="update.asp?id=<%=rs("id")%>"  class="blue" >修 改</a> 
                        <a href="delete.asp?id=<%=rs("id")%>" class="blue" onClick="return Delete();">删 除</a></div>
                    </td>
                  </tr>
                  <%
	rs.movenext
	loop
end if
rs.Close 
set rs=nothing
set conn=nothing
%>
                </table>
          </div></td>
        </tr>
</table>
        <p>&nbsp;</p>
        <table width="497" height="21" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#97C4CA">
          <tr> 
            <td width="75" align="center" bordercolor="#97C4CA" height="18"><a href="index.asp">首页</a></td>
            <td width="88" align="center" height="18"><a href="add.asp" target="_parent">添加单个成绩</a></td>
            <td width="85" align="center" height="18"><a href="adds.asp" target="_parent">批量添加成绩</a></td>
            <td width="96" align="center" height="18"><a href="re.asp" target="_parent">通<font size="2">过搜索并修</font>改</a></td>
            <td width="78" align="center" height="18"><font color="#0000CC"><a href="admin.asp" target="_parent">管理总界面</a></font></td>
            <td width="63" align="center" height="18"><a href="javascript:window.close()">退出</a></td>
          </tr>
</table>

</body>
</html>




⌨️ 快捷键说明

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