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

📄 update.asp

📁 能自动计算总分、平均分及格率等各种统计数据。在统计时你还可以选择统计全部学科或部分学科;在使用中可自由增删成绩、人员
💻 ASP
字号:
<%if session("password")<>"" then%>
<!--#include file="conn1.asp"-->
<%
	id=trim(Request("id"))
	sqlcmd = ("select  * from bbs1 where id="&id)			'查询id(ID号)这条记录
	rs.Open sqlcmd,newconn,1,1
%> 
<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");
.style1 {font-size: 24px}
body {
	background-image: url();
}
-->
</style>
</head>
<body>

<p><table width="300"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
            <td height="199">
<div align=center>
<form method="POST" action="modi.asp">
                  <table width="300" border="1" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td width="57" align="center">班级</td>
                      <td width="16"> </td>
                      <td width="225">
					  <input name="bj" size="25" maxlength="30"  class="editbox1" value="<%=rs("bj")%>">
                      </td>
                    </tr>
                    <tr>
                      <td align="center">学号</td>
                      <td width="16">&nbsp;</td>
                      <td width="225">
					  <input name="xh" size="25" maxlength="30" class="editbox1" value="<%=rs("xh")%>"></td>
                    </tr>
                    <tr> 
                      <td width="57" height="22" align="center">姓名</td>
                      <td width="16"> </td>
                      <td width="225"> 
                        <input name="user" size="25" maxlength="40" class="editbox1" value="<%=rs("user")%>">
                      </td>
                    </tr>
                    <tr> 
                      <td width="57" height="11" align="center">课程</td>
                      <td width="16"> </td>
                      <td width="225"> 
                        <input type="text" name="kc" size="25" class="editbox1" value="<%=rs("kc")%>">
                      </td>
                    </tr>
                    <tr> 
                      <td width="57" height="11" align="center">成绩</td>
                      <td width="16">&nbsp;</td>
                      <td width="225"> 
                        <input name="cj" size="25" maxlength="100" class="editbox1" value="<%=rs("cj")%>">
                      </td>
                    </tr>
                    <tr> 
                      <td width="57" height="11" align="center">学期</td>
                      <td width="16">&nbsp;</td>
                      <td width="225"> 
                        <input type="xq" name="xq" size="25" class="editbox1"value="<%=rs("xq")%>">
                      </td>
                    </tr>
                    <tr> 
                      <td width="57" height="11" align="center">类型</td>
                      <td width="16">&nbsp;</td>
                      <td width="225">
                        <input type="lx" name="lx" size="25" class="editbox1" value="<%=rs("lx")%>">
                      </td>
                    </tr>
                    <tr> 
                      <td colspan="3">         
                        <div align="center"> 
                          <input class=bottom name=B12 type=submit value="修改记录">
                          <input class=bottom name=B22 type=reset value="重新添写">
                          <input type="hidden" name="id" value="<%=rs("id")%>">
                        </div>
                      </td>
                    </tr>
                  </table>
        </form>
        </div></td>
      </tr>
    </table>
        <table width="521" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="82" align="center"><a href="index.asp">首页</a></td>
            <td width="104" align="center"><a href="add.asp" target="_parent">添加单个成绩</a></td>
            <td width="118" align="center"><a href="adds.asp" target="_parent">批量添加成绩</a></td>
            <td width="134" align="center"><a href="re" target="_parent">通过搜索并修改</a></td>
            <td width="71" align="center"><a href="javascript:window.close()">退出</a></td>
          </tr>
</table></p>
</body>
</html>
<%else
Response.Redirect "admpost.asp"
end if%>

⌨️ 快捷键说明

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