📄 partchange.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<title>部门信息管理</title>
<link href="../css/MainBorder.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {color: #FFFFFF}
.STYLE3 {color: #FFFF00}
-->
</style>
</head>
<script language="vbscript">
sub enter_onclick()
yes =window.confirm("是否要修改该部门信息!?")
if yes = true then
f.submit()
end if
end sub
</script>
<body topmargin="800">
<table width="970" height="42">
<tr>
<td>
</td>
</tr>
</table>
<!--#include file ="../Connections/auto.asp"-->
<%
cpart=request.QueryString("cpart")
%>
<%
set RS = server.CreateObject("ADODB.Recordset")
Sname = "select * from part where cpart ='"& cpart & "'"
RS.open Sname , CN
%>
<form id="f" method="post" action="Partchangez.asp">
<table width="436" height="72" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#666699">
<tr>
<td width="97" height="35" align="right" class="but01" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">部门中文名称:</td>
<td width="336" class="but1" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'"><input name="cpart" type="text" id="cpart" value="<%=RS("cpart")%>"><input type="hidden" name="Oldcpart" value="<%=RS("cpart")%>"></td>
</tr>
<tr>
<td align="right" class="but01" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'">部门英文名称:</td>
<td class="but1" onMouseDown="this.className='tddown'" onMouseUp="this.className='but'" onMouseOut="this.className='but'"><input name="epart" type="text" id="epart" value="<%=RS("epart")%>"></td>
</tr>
<tr>
</table>
<center>
<table width="442" height="65">
<tr>
<td width="444"><div align="center"><input type="button" class="s04" name="enter" value="修改部门信息">
</div></td>
</tr>
</table>
</center>
<p> </p>
</form>
<%
RS.close
CN.close
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -