日期:2014-05-16 浏览次数:21017 次
<%
if request.querystring("action")="save" then
set rs=server.createobject("adodb.recordset")
sql="select * from shxx where id="&request("id")
rs.open sql,conn,1,3
rs("halfyear")=request.form("halfyear")
rs.update
response.Write "<script language=javascript>alert('修改小类成功!');window.location.href='"&request.serverVariables("HTTP_REFERER")&"';</script>"
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
%>