<!--#include file="webconn.asp"-->
<%
id=request("id")
Content=request("txt_content")
if Content="" then 
response.write "<script>alert('信息提示：\n\n内容不能为空！');history.go(-1);</Script>"
else
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from webcontent where c_name='"& id &"'"
rs.open sql,conn,1,3 
rs("c_content")=Content
rs.update
rs.close
set rs=nothing
response.write "<script language='javascript'>alert('信息提示：\n\n操作成功!');location='main.asp?adminjob=web';</script>"
end if
%>