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

📄 admin_peixunzhuanye_us.asp

📁 培训学员管理系统
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn_fj16.asp" -->
<!--#include file="admin_qx.asp" -->
<% isgjgl %>
 <%
isupdate=request("isupdate")
if isupdate="update"then
updid=request("updid")
peixunzhuanye=trim(request("peixunzhuanye"))
set rs=server.createobject("adodb.recordset")
sql="select * from zd_peixunzhuanye where id="&updid&""
rs.open sql,conn,1,2
if rs.eof then
 	response.write "<script language=JavaScript>{window.alert('报错:记录不存在,请按“确定”返回后“刷新”页面!');window.history.go(-1);}</script>"
  response.end
  else
  rs("peixunzhuanye")=peixunzhuanye
  rs.update
   	response.write "<script language=JavaScript>{window.alert('修改成功,请按“确定”返回!');window.location.href='admin_peixunzhuanye.asp';}</script>"

   end if
   
  else
 
 requestid=request("id")
set rs=server.createobject("adodb.recordset")
sql="select * from zd_peixunzhuanye where id="&requestid&""
rs.open sql,conn,1,2
if rs.eof then
 	response.write "<script language=JavaScript>{window.alert('报错:记录不存在,请按“确定”返回后“刷新”页面!');window.history.go(-1);}</script>"
  response.end
   end if 
  
   end if
 %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE3 {color: #FFFFFF}
.STYLE4 {color: #0000FF; }
-->
</style>
</head>

<body>
<form name="form1" method="post" action="admin_peixunzhuanye_us.asp">
  <p>&nbsp;</p>
  <table width="392" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#E6F7F0">
    <tr>
      <td width="411" class="STYLE4"><span class="style3">培训专业:</span>
          <label>
          <input name="peixunzhuanye" type="text" id="peixunzhuanye" value="<%=rs("peixunzhuanye")%>" />
          <input type="submit" name="Submit2" value="修改培训专业" style="width:90;background-color: #FFCC66; color: #000000; border: 1 solid #00CC00" />
          <input name="isupdate" type="hidden" id="isupdate" value="update">
          <input name="updid" type="hidden" id="updid" value="<%=rs("id")%>">
      </label></td>
    </tr>
  </table>
  <p align="center"><a href="javascript:window.history.go(-1)" class="STYLE4">返回前一页</a></p>
</form>
</body>
</html>

⌨️ 快捷键说明

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