<!--#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" )
	   set rs=server.createobject("adodb.recordset")
       rssql="select * from stuscore where   id ='"&id&"'" 
       rs.open rssql,conn,1,3
	   
	   if rs("jifen")="否"  then
	  
	      rs("jifen")="是"
	   else
	      rs("jifen")="否"
	   end  if 
	   
	  
       rs.update
	   
	    
      
	 
	   response.redirect   "bujifen.asp?selYears="&rs("years")&"&selGrade="&rs("grade")&"&selTestName="&rs("testname") 
	   rs.close
 %>

<p>sdafasdf

  <%=rs("years")%><%=strGrade%><%=strClass%><%=strtestname%><%=strnumber%></p>
<form id="form1" name="form1" method="post" action="">
</form>
<p>&nbsp;</p>
