<!--#include file="conn.asp"-->
<!--#include file="check.asp"-->
<%
	useflag=1
%>
<!--#include file="flag.asp"-->
<!--#include file="../inc/setup.asp"-->
<!--#include file="../inc/sql.asp"-->
<%
end if
if trim(request("what"))="" then
response.write "<script language=JavaScript>" & chr(13) & "alert('项目不能为空！');" & "history.back()" & "</script>" 
Response.End
end if
set rs=server.CreateObject("adodb.recordset")
sql="update "&request("how")&"list set "&request("how")&"class='"&request("what")&"' where id="&request("id")
rs.open sql,conn,2,3
set rs=nothing
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('修改成功，请刷新后查看结果！');" & "window.close()" & "</script>" 
%>
