回复:(助人为乐)我又改成了bit也不行啊
<%
if request.form("wy_yqid").count=0 then
response.write("<script language='javascript'>"&chr(13)& "alert('请选择要审核 的信息!');history.go(-1);</script>")
response.end
end if
dim action,wy_yqid
wy_yqid=request.QueryString("wy_yqid")
action=request.QueryString("action")
if request.form("action")="edit" then
set rs=server.CreateObject("adodb.recordset")
sql="update wy_yq set wy_sh=1 where wy_yqid="&wy_yqid&""
rs.open sql,conn,1,3
re("wy_sh")=trim(request.form("wy_sh"))
rs.close
set rs=nothing
end if
response.Write("<script language='javascript'>"&chr(13)&"alert('修改成功!');window.location.href='wy_yq_sh.asp';"&"</script>")
%>