⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admrevise1.asp

📁 大家好
💻 ASP
字号:
<%@ LANGUAGE="VBSCRIPT"%>
<!-- #include file="../ADOVBS.INc" -->
<%
session("3508")="aa"
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 news where newsid='"& id &"'"

rs.open sqlstr,conn

if request("Submit2")<>"" then
	rs.delete
	rs.movefirst
else

rs("title")=request("biaoti")
rs("accessory")=request("fubiaoti")
rs("key1")=request("gjz1")
rs("key2")=request("gjz2")
rs("reporter")=request("zuozhe")
rs("lookfrom")=request("zhaizi")
rs("content")=request("neirong")
rs.update
end if
%>
<html>
<head>
<title>修改新闻</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF">
</body>
</html>
<script language=javascript>
<!--
	alert("修改成功!");
	window.location.href="../adm/manager.asp";
-->
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -