save.asp

来自「一个学生选棵系统的毕业论文」· ASP 代码 · 共 27 行

ASP
27
字号
<%response.buffer=true%>
<!--#include file="../../include/keepHouse.asp"-->
<html>
<head>
<title>欢迎来到<%=WebName%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../include/WebCourseSettlementStyle.Css" rel="stylesheet" type="text/css">
</head>
<body>
<%
call insureID()
dim FEEDBACK_TITLE,FEEDBACK_CONTENT
FEEDBACK_TITLE=request("FEEDBACK_TITLE")
FEEDBACK_CONTENT=request("FEEDBACK_CONTENT")
if FEEDBACK_TITLE="" and FEEDBACK_CONTENT="" then
	call trigErr()
end if
sql="INSERT INTO FeedBack VALUES ('"&FEEDBACK_TITLE&"','"&FEEDBACK_CONTENT&"','"&Session("USER_NAME")&"',GETDATE())"
'call Debug(sql)
call openDB()
conn.execute(sql)
response.write "添加成功!&nbsp;&nbsp;&lt;&lt;<a href=""List.asp"">返回</a>"
call closeDB()
%>
</body>
</html>

⌨️ 快捷键说明

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