📄 modschool.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 strID ,strName ,strUrl
strName = trim(Request.Form("Name"))
strID = Request.QueryString("ID")
strUrl = "Mod_School.asp?ID=" & strID
If strID &"" = "" Then
Response.Write("参数错误!")
Response.End
End If
Dim rs ,strSql
strSql = "UPDATE School SET name = '"& strName &"' WHERE ID = "& strID
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open strSql,conn,3,1
Response.Write("<BR><BR><BR><Div align=center>修改成功!<Br><BR><a href=index_School.asp>返回</a></div>")
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -