addke.asp

来自「java 编的图形管理系统 连Access数据库的」· ASP 代码 · 共 53 行

ASP
53
字号
<!--#include file="top.asp"-->
<!--#include file="conn.asp"-->
<%
number1=request.form("number")
Set rs = Server.CreateObject("ADODB.Recordset")
number=session("number")
passwd=session("Passwd")
sql="select * from admin1 where number='"&number&"'and passwd='"&Passwd&"'"
rs.open sql,conn,3,3
if rs.eof then
response.redirect "index.asp"
response.end
end if
key1=rs("oskey")
IF not(KEY1="super") THEN
	response.redirect "error.asp?id=065"
	response.end
END IF
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css">
<title>理学院成绩查询系统-添加新班级</title>
</head>
<body leftmargin="0" Topmargin="0" marginwidth="0" marginheight="0" background="images/greystrip.gIf">
<table width="760" border="0" cellspacing="0" cellpadding="0">
<tr><td><div align="right"><a href="manage.asp"><font color="red">返回管理首页</font></a>&nbsp;&nbsp;&nbsp;</div></td></tr>
</table>
<table width="760" border="0" cellspacing="0" cellpadding="0">
<form action="addkeok.asp" method="post" name="form" id="form">
<tr> 
      <td width="278"> 课程名称: 
        <input name="kecheng" type="text" id="kecheng"></td>
  </tr>
<tr> 
      <td width="278"> 授课教师: 
        <input name="teacher" type="text" id="teacher"></td>
  </tr>
 <tr> 
            <td><p>&nbsp;
          </p>
              <p align="center">
            <input type="submit" name="Submit" value="提交">
            <input type="reset" name="Submit2" value="重置">
              </p></td>
    </tr>
</form></table>

</body>
</html>
<!--#include file="bottom.asp"-->

⌨️ 快捷键说明

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