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

📄 zhuanyexg.asp

📁 教务系统主要是老师和学生的一个平台
💻 ASP
字号:
<!--#include file ="connection.asp"-->
<% 
 user=session("user")
 lb=session("lb")
 xino=trim(request.QueryString("xino"))
 zhuanyeno=trim(request.QueryString("zhuanyeno"))
 'response.write teacherno

if user=""or lb<>"admin" then
	response.redirect"index.asp"
else 

  sqlstr="select 专业.*,系.xiname from 专业,系 where 专业.xino='" & xino &"' and 专业.zhuanyeno='" & zhuanyeno &"' and 专业.xino=系.xino"
  set rs=Server.CreateObject("ADODB.Recordset") 
  rs.open sqlstr,CN
%>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改专业信息</title>
<style type="text/css">
<!--
.STYLE2 {
	font-size: 18px;
	font-weight: bold;
	color: #FFFFFF;
}
-->
</style>
</head>
<body bgcolor="#FBC2AD">
<div align=center>
<form name="f1" action="zhuanyexgz.asp" method="post">
  <table width="144" height="31">
  <tr>
  <td>&nbsp;</td>
  </tr>
  </table>
  <table width="311" border="0" cellpadding="3" cellspacing="1" bordercolor="#000000" bgcolor="#000000" class="sft">
    <tr>
      <td height="30" colspan="2" bgcolor="#FF903C"><div align="center" class="STYLE1">
        <div align="center"><span class="STYLE2">修改专业信息</span>
            <input name="oldxino" type="hidden" id="oldxino" value=<%=xino%>><input name="oldzhuanyeno" type="hidden" id="oldxino" value=<%=zhuanyeno%>></div>        
        </div></td>
      </tr>
    <tr>
      <td width="85" height="30" bgcolor="#FF903C"><div align="center">系部编号:</div></td>
      <td width="211" height="30" bgcolor="#FFFFFF"><input name="xino" type="text" id="xino"style="border-style: dotted; border-width: 0; background-color: #FCB4BC" size="20" value=<%=rs("xino")%>></td>
    </tr>
    <tr>
      <td height="31" bgcolor="#FF903C"><div align="center">系部名称:</div></td>
      <td height="31" bgcolor="#FFFFFF"><input name="xiname" type="text" id="xiname"style="border-style: dotted; border-width: 0; background-color: #FCB4BC" value=<%=rs("xiname")%> size="20"></td>
    </tr>
    <tr>
      <td height="31" bgcolor="#FF903C"><div align="center">专业编号:</div></td>
      <td height="31" bgcolor="#FFFFFF"><input name="zhuanyeno" type="text" id="zhuanyeno"style="border-style: dotted; border-width: 0; background-color: #FCB4BC" value=<%=rs("zhuanyeno")%> size="20"></td>
    </tr>
    <tr>
      <td height="31" bgcolor="#FF903C"><div align="center">专业名称:</div></td>
      <td height="31" bgcolor="#FFFFFF"><input name="zhuanyename" type="text" id="zhuanyename"style="border-style: dotted; border-width: 0; background-color: #FCB4BC" value=<%=rs("zhuanye")%> size="20"></td>
    </tr>
    
    <tr>
      <td height="35" colspan="2" bgcolor="#FFFFFF"><div align="center">
          <input type="submit" name="Submit" value="修改专业信息" style="border-style: dotted; border-width: 0; background-color: #FCB4BC">
      </div></td>
    </tr>
  </table>
  </form>
  <p class=sft>
</div>

<body>

</body>

</html>
<%
end if
rs.close
CN.close
set rs=nothing
set CN=nothing

%>

⌨️ 快捷键说明

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