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

📄 mod_testno.asp

📁 一个学生管理系统 ASP+ACCE
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
if session("admin")="" then
	response.write "<script>alert('您无此权限');document.location.href='index.asp';</script>"
	response.end
end if
%>

<%
dim id
id=trim(request("id"))

set rs=server.createobject("adodb.recordset")
sql="select * from testno where id="& id
rs.open sql,conn,1,1
%>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<title>修改统考场次</title>
<link rel="stylesheet" href="style.css">
</head>

<body>

<div align="center">
  <table border="0" width="400">
    <tr>
      <td width="100%">
        <form method="POST" action="">
        <input type="hidden" value="<%=id%>" name="id">
          <table border="1" width="100%" cellspacing="0" cellpadding="5" bordercolorlight="#000000" bordercolordark="#FFFFFF">
            <tr>
              <td width="33%">
                <p align="right">修改考次:</p>
              </td>
  <center>
              <td width="33%"><input type="text" name="testno" size="20" value="<%=rs("testno")%>"></td>
              <td width="34%"><input type="submit" value="提交" name="B1"></td>
            </tr>
          </table>
        </form>
        <p> </center></td>
    </tr>
  </table>
</div>

</body>

</html>

⌨️ 快捷键说明

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