<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<% strid=request("id")
   
  
   Grade = TRIM( Request( "grade" ) )
   subject = TRIM( Request( "subject" ) )
   ftype = TRIM( Request( "ftype" ) )
   
   
   set Rsqingjia=server.createobject("adodb.recordset")
       Rsqingjiasql="select * from subject where  id='"&strId& "'"
       Rsqingjia.open Rsqingjiasql,conn,1,3
     
      
	 
	   Rsqingjia("Έ΄²ιΘΛ")=request.cookies("tname")
	 
	
       Rsqingjia.update
       Rsqingjia.close
	   response.redirect   "Checkagain.asp?Grade="&Grade&"&xueqi="&xueqi&"&subject="&subject&"&ftype="&ftype
%>


