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

📄 banjiedit.asp

📁 这是一个在线考试系统 有比较强大的功能 是很不错的东西哦 大家可以看看哦
💻 ASP
字号:
<!--#include file="../conn.asp"-->
<!--#include file="../check.asp"-->
 <%
 dim bid,sql,theACT,banji,xuehao,zhuanye,rs,temp
call LinkData()
 Set rs = Server.CreateObject("ADODB.RecordSet")
bid=request("bid")
sql="select * from banji where bid="&bid
rs.open sql,conn,1,1

banji=rs("banji")
zhuanye=rs("zhuanye")
rs.close
  %>
  
  <%
  theACT=request("theACT")
  if theACT="SAVE" then 
  
banji=request("banji")	
zhuanye=request("zhuanye")

	 sql="select * from banji where bid="&bid
	 rs.open sql,conn,1,3
	 rs("banji")=banji
	 rs("zhuanye")=zhuanye
	 rs.update
	 rs.close
	 temp="banji.asp"
	 response.Redirect (temp)
	
	 end if
  %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>班级修改</title>
<link href="../teacher.css" rel="stylesheet" type="text/css">
</head>

<body>

<form method="post" action="banjiedit.asp" name="createForm">
<input type="hidden" name="bid"  value="<%=bid%>">
<table border="0" width="500" cellspacing="2" cellpadding="2" align="center">
    <tr> 
      <td colspan="2" align="center">班级修改</td>
    </tr>
    <tr>
      <td width="65">班级</td>
      <td width="421"><input name="banji" type="text" id="banji" value="<%=banji%>" size="40"></td>
    </tr>
    <tr>
      <td>专业</td>
      <td><input name="zhuanye" type="text" id="zhuanye" value="<%=zhuanye%>" size="40"></td>
    </tr>
    <tr> 
      <td colspan="2" align="center"> 
        <input type="submit" value="提交">
        <input type="reset" value="重写">
        <input name="theACT" type="hidden" id="theACT" value="SAVE">
      </td>
    </tr>
  </table>
</form>

</body>
</html>
<%
call CloseData()
'call Timenum()
%>

⌨️ 快捷键说明

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