📄 update.asp
字号:
<html>
<head>
<title>更改</title>
</head>
<body background=tupian\bg7.jpg>
<table cellspacing="0" cellpadding="0" align="center" width="917" height="527">
<tr>
<td width="250"><!--#include file="ch1.asp"-->
</td>
<td width="700" valign="top"><!--#include file="conn.asp"-->
<% dim n,no,username,home,phone
n=request.form("n")
no=request.form("no")
username=request.form("name")
home=request.form("home")
phone=request.form("phone")
set db=server.CreateObject ("ADODB.Recordset")
sql = "update 个人信息 set 编号='"& n &"',学号='"& no &"',家庭住址='"& home &"',手机号码='"& phone &"'where 编号= '" & n & "'"
db.open sql,conn,1,1
%>
<script language="javascript">
alert("更新成功!!!")
location.href="next_down.asp"
</script>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -