📄 mingup.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file=data/conn.asp-->
<%
if request("post")=3 then
call w
end if
function w
if request("lanmu")="" then
response.Write("<script language=javascript>alert('栏目不能为空')</script>>")
else
set rs=server.CreateObject("adodb.recordset")
sql="select * from lanmu where id="&request("id")
rs.open sql,conn,1,3
rs("lanmu")=request("lanmu")
rs.update
rs.close
response.Redirect("chenggong.htm")
end if
end function
set rs1=server.CreateObject("adodb.recordset")
sql1="select * from lanmu where id="&request("id")
rs1.open sql1,conn,1,3
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
.style1 {
font-size: 14px;
font-weight: bold;
color: #000000;
}
-->
</style>
<link href="biaodan.css" rel="stylesheet" type="text/css">
</head>
<body>
<p> </p>
<p> </p>
<form name="form1" method="post" action="">
<table width="303" height="122" border="0" align="center" cellspacing="1" bgcolor="#336699">
<tr >
<td height="45" colspan="2" background="images/tile_sub.gif"><div align="center"><span class="style1">修改名片夹</span></div></td>
</tr>
<tr>
<td width="96" height="35" bgcolor="#FFFFFF"><div align="center">名称:</div></td>
<td width="197" bgcolor="#FFFFFF"><input name="lanmu" type="text" class="unnamed1" id="lanmu" value="<%=rs1("lanmu")%>">
<input name="post" type="hidden" id="post" value="3"></td>
</tr>
<tr bgcolor="#F3F3F3">
<td height="35" colspan="2"><div align="center">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</div></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -