tj.asp
来自「学生管理系统」· ASP 代码 · 共 35 行
ASP
35 行
<html>
<head>
<title>查找</title>
</head>
<body background=tupian\bg28.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="insert into 个人信息 values('"&n&"','"&no&"','"&username&"','"&home&"','"&phone&"')"
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 + =
减小字号Ctrl + -
显示快捷键?