<!--#include file="conn.asp"-->
<%
Type1=Request.QueryString("Type")
if Type1="UP" and Request.Form("content")<>"" then
set rs=server.Createobject("ADODB.Recordset")
sql="select * from news"
rs.open sql,conn,1,3
rs.addnew
rs("content")=Request.Form("content")
rs.Update
Response.Redirect("test.asp")
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>