update_editnote.asp
来自「一个不完整的硬件报价管理系统」· ASP 代码 · 共 25 行
ASP
25 行
<!--#include file="conn.asp"-->
<!--#include file="chkmanage.asp"-->
<!--#include file="inc/const2.asp"-->
<%
notetitle=request("notetitle")
notebbs=request("notebbs")
set rs=server.createobject("adodb.recordset")
sql="select notetitle,notebbs,notedate from [lybconfig] where id=1"
rs.open sql,conn,1,3
rs("notebbs")=(request("notebbs"))
rs("notetitle")=(request("notetitle"))
rs("notedate")=NOW()
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<html><head><title>成功修改</title>
<!--#include file="css.asp"-->
</head><body topmargin="1" bgcolor="<%=bodybgcolor%>"><!--#include file="menu.asp"--><br><br><p align="center">成功修改!</p>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?