<!--#include file="admin_chk.asp"-->
<!--#include file="book_conn.asp"-->

<% set rs=server.CreateObject("adodb.recordset")
	  ss=request("ss")
	  
	  sql="select * from wsbm where id="&ss
rs.open sql,conn,1,3 
rs("zy")=request("zy")
rs("studentname")=request("studentname")
rs("parentname")=request("parentname")
rs("age")=request("age")
rs("sex")=request("sex")
rs("year")=request("year")
rs("month")=request("month")
rs("day")=request("day")
rs("sfid")=request("sfid")
rs("minzu")=request("minzu")
rs("jiguan")=request("jiguan")
rs("xueli")=request("xueli")
rs("byyx")=request("byyx")
rs("techang")=request("techang")
rs("sgtz")=request("sgtz")
rs("zzmm")=request("zzmm")
rs("address")=request("address")
rs("sbxl")=request("sbxl")
rs("sjhm")=request("sjhm")
rs("grdh")=request("grdh")
rs("jtdh")=request("jtdh")
rs("email")=request("email")
rs("post")=request("post")
rs("gaokao")=request("gaokao")
rs("beizhu")=request("beizhu")
rs("status")=request("status")

if rs("year")="" then
response.write "<script language='javascript'>"
response.Write "alert('处理意见不能为空！');"
response.write "location.href='javascript:history.go(-1)';"			
response.write "</script>"
else
response.write "<script language='javascript'>"
response.write "alert('修改成功！');"
response.write "location.href='wsbmdd.asp';"			
response.write "</script>"
end if
rs.update
rs.close
set rs=nothing
%>
 
