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

📄 update.asp

📁 教师在线查分系统
💻 ASP
字号:
<%if session("password")<>"" then%>
<!--#include file="conn1.asp"--> <%
	id=trim(Request("id"))
	sqlcmd = ("select  * from teacher1 where id='"+id+"'")			'查询id(ID号)这条记录
	rs.Open sqlcmd,newcon,1,2
%> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>个人修改</title>
<style type="text/css">
<!--
body {
	scrollbar-face-color: #FFC4B0;
	scrollbar-highlight-color: #FFC4B0;
	scrollbar-shadow-color: #FF7142;
	scrollbar-3dlight-color: #FF7142;
	scrollbar-arrow-color: #FF7142;
	scrollbar-darkshadow-color:#FFC4B0;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image:  url(img/bg3.gif);
	background-position:center;
	margin-left: 0px;
}
body,td,th {
	font-size: 16px;
	color: #FF7142;
	font-family: 宋体;
}
a {
	font-family: 宋体;
	font-size: 14px;
}
a:link {
	text-decoration: none;
	color: #FF7142;
}
a:visited {
	text-decoration: none;
	color: #FF7142;
}
a:hover {
	text-decoration: none;
	color: #FFB59D;
}
a:active {
	text-decoration: none;
	color: #FFB59D;
}
h1,h2,h3,h4,h5,h6 {
	font-family: 宋体;
}
.style2 {color: #ff41b5}
-->
</style>
</head>
<body>
<table width="495" height="578"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="495" height="83" align="center" valign="top" background="img/top3.gif">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="421" valign="top">
	
<table width="430"  border="0" height="90%" align="center" cellpadding="0" cellspacing="0">
	<tr><td width="478" height='421' valign='top' background="img/bg33.gif"><div align=center>
	  <p>
	  <p>个人信息修改页面
          </p>
		  <form method="POST" action="modi.asp?id=<%=id%>">
    <br>
    <table width="400" border="1" cellspacing="2" cellpadding="0" align="center" bordercolor="#FFFFFF">
      <tr> 
        <td bordercolor="#FFCC66" width="84" align="center" bgcolor="F2F2F2">学号</td>
        <td width="12"> </td>
        <td width="288"> <input name="xh" size="46" maxlength="40" class="editbox1" value="<%=rs("tnum")%>"> 
        </td>
      </tr>
      <tr> 
        <td bordercolor="#FFCC99" width="84" height="22" align="center" bgcolor="F2F2F2">姓名</td>
        <td width="12"> </td>
        <td width="288"> <input name="user" size="46" maxlength="30" class="editbox1" value="<%=rs("tname")%>"> 
        </td>
      </tr>
       <tr> 
        <td bordercolor="#FFCC99" width="84" height="22" align="center" bgcolor="F2F2F2">科目</td>
        <td width="12"> </td>
        <td width="288"> <input name="km" size="46" maxlength="30" class="editbox1" value="<%=rs("tsc")%>"> 
        </td>
      </tr>
      <tr> 
        <td bordercolor="#FFCC99" width="84" height="22" align="center" bgcolor="F2F2F2">成绩</td>
        <td width="12"> </td>
        <td width="288"> <input name="cj" size="46" maxlength="100" class="editbox1" value="<%=rs("tscore")%>"> 
        </td>
      </tr>
      <tr> 
        <td colspan="3">         
          <input class=bottom name=B12 type=submit value="修改记录"> <input class=bottom name=B22 type=reset value="重新添写"> 
          <input type="hidden" name="id" value="<%=rs("tnum")%>"> </td>
      </tr>
    </table>
    <br>
    <table width="400" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr> 
        <td height="1" bgcolor="7285CF" colspan="2"></td>
      </tr>
      <tr bordercolor="#FFCC99"> 
        <td width="271" height="30"> </td>
        <td height="30" align="center" bordercolor="#FFCC66" bgcolor="F2F2F2"><a 
      href="gl.asp" class="black">返回主页面</a> </td>
      </tr>
      <tr bgcolor="7285CF"> 
        <td height="1" colspan="2"></td>
      </tr>
    </table>
    <div align="center"></div>
  </form>
</p>
	  </div>
	</td>
	</tr>
</table>
</td>
  </tr>
  <tr>

  </tr>
</table>
</body>
</html>
<%else
Response.Redirect "dlu.asp"
end if%>

⌨️ 快捷键说明

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