📄 shrevise1.asp
字号:
<%@ LANGUAGE="VBSCRIPT"%>
<!-- #include file="../ADOVBS.INc" -->
<%
id=request("ID")
set conn=server.createobject("adodb.connection")
conn.open Application("DBCon_ConnectionString")
set rs=server.createobject("adodb.recordset")
rs.LockType=adLockOptimistic
sqlstr="select * from buyinfo where ID='"& id &"' order by stime desc"
rs.open sqlstr,conn,adOpenStatic
if request("submit12")<>"" then
sql="delete from buyinfo where ID='"& id &"'"
conn.execute sql
else
rs("pname")=request("pname")
rs("price")=request("price")
rs("desc")=request("desc")
rs("email")=request("email")
rs("contact")=request("contact")
rs.update
end if
set conn=nothing
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF">
<p> </p>
<p> </p>
</body>
</html>
<script language="JavaScript">
<!--
alert("OK!...修改成功!");
for(i=0;i<20;i++);
window.location.href="../sh/showinfo.asp";
//-->
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -