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

📄 adminlook.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");
-->
</style>
</head>
<body>
<%
	xh=request("xh")
	set rs=server.createobject("adodb.recordset")
conn = "DBQ=" + server.mappath("class_cj.mdb") + ";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
if request("xh")<>"" then
	sql="select * from bbs1 where xh like'" & xh & "'"
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">
          <tr>
          <td valign='top'><div align=center>
              <p class="style1">&nbsp;</p>
                <p class="style1">成绩管理系统</p>
                <p class="style1" align="left"><font size="3">班级:<%=rs("bj")%></font></p>
                <table width="664" border="0" cellpadding="0" cellspacing="1" height="16">
                  <tr> 
                    <td width="78" align="center" height="13"> 学号</td>
                    <td width="94" align="center" height="13">姓名</td>
                    <td width="102" align="center" height="13">课程</td>
                    <td width="85" align="center" height="13">成绩</td>
                    <td width="87" align="center" height="13">学期</td>
                    <td width="92" align="center" height="13">类型</td>
                    <td width="118" align="center" height="13">操作</td>
                  </tr>
                </table>
                <table width="662" height="22" border="0">
                  <%
	do while not rs.eof
%>
                  <tr> 
                    <td width="74" height="20" align="center"><%=rs("xh")%></td>
                    <td width="88" align="center"><%=rs("user")%></td>
                    <td width="100" align="center"><%=rs("kc")%></td>
                    <td width="86" align="center"><%=rs("cj")%></td>
                    <td width="80" align="center"><%=rs("xq")%></td>
                    <td width="92" align="center"><%=rs("lx")%></td>
                    <td width="112" align="center"><a href="update.asp?id=<%=rs("id")%>"  class="blue" >修 改</a> 
                      <a href="delete.asp?id=<%=rs("id")%>" class="blue" onClick="return Delete();">删 除</a></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">
          <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">通过搜索并修改</a></td>
            <td 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 + -