📄 addnotice.asp
字号:
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
body {
background-color: #B1DB99;
}
-->
</style><!--#include file = "inc/conn.asp" -->
<!--#include file = "CheckLogin.asp" -->
<!--#include file = "inc/zhuru.asp" -->
<%
Dim strName ,strContent ,strAddman ,strAddTime
strName = trim(Request.Form("name"))
strContent = trim(Request.Form("Content"))
strAddman = trim(Request.Form("Addman"))
strAddTime = Now()
Dim rs ,strSql
strSql = "INSERT INTO Notice (title,Content,addman,addtime) Values('"& strName &"','"& strContent &"','"& strAddman &"','"& strAddTime &"')"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open strSql,conn,3,1
Response.Write("<BR><BR><BR><Div align=center>添加成功!<Br><BR><a href=Add_Notice.asp>返回继续添加</a></div>")
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -