<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<%

'检查权限
       tname=request.cookies("tname") 
       Set MyOAASPObj= Server.CreateObject("YFSchoolOApro.YFSchoolDll")
           if MyOAASPObj.QuanXian(tname,"学籍管理")=0 then 
		    response.redirect  "../NoPower.asp"
           end if 
		   set MyOAASPObj=nothing

'检查权限结束
%>

<%
id=Request( "id")

biandongleixing = Request.Form("biandongleixing")
biandongdate = Request.Form("biandongdate")
biandongyuanyin = Request.Form("biandongyuanyin")
xueshengquxiang = Request.Form("xueshengquxiang")



strsql="update  students  set  是否离校='是',jifen='否',biandongleixing='"&biandongleixing& "',biandongdate='"&biandongdate& "',biandongyuanyin='"&biandongyuanyin& "',xsquxiang='"&xueshengquxiang& "'   where ID='"&id& "'"
conn.execute(strsql)
'response.redirect   "student.asp?years="&years&"&selgrade="&grade&"&selclass="&sclass
                
%>
<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
 <div align="center">
   <p>&nbsp;</p>
   <p>&nbsp;</p>
   <p class="STYLE1">保存变动成功</p>
   <p>&nbsp;</p>
   <p><span class="STYLE1">
     <input name="button" type="button" class="topanniu" onclick="location='Modifystudent.asp?id=<%=id%>'" value="返回" />
   </span></p>
 </div>
