class_edit_chk.asp

来自「一套企业全站」· ASP 代码 · 共 31 行

ASP
31
字号
<!--#include file=inc/conn.asp-->
<!--#include file=../../inc/checkadmin.asp-->


<%
title=request.Form("title")


if title="" then
	Response.Write("<script>alert(""请添写完整信息"");history.go(-1);</script>")
else
openconn()
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from sys_data_news_class where id="&request("cid"),conn,1,3




rs("news_type_name")=title


rs.update
rs.close
set rs=nothing
call closeconn()
	Response.Write("<script language=javascript>alert(""修改成功"");location.href=""admin_news_class.asp"";</script>")

end if


%>

⌨️ 快捷键说明

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