<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<html>
<head>
<title>保存</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
</head>

<% id=request("id")            
   tname=request("tname") 
   xueniandu=request("xueniandu")
   kemu=request("kemu")
   nianji=request("nianji")
   banshu=request("banshu")
   keshi=request("keshi")
   banzhuren=request("banzhuren")
   hegelv=request("hegelv")
   youxiulv=request("youxiulv")
   kaohejieguo=request("kaohejieguo")
   
   
   set RsPlan=server.createobject("adodb.recordset")
   
       if id="" then 
          RsPlansql="select * from EmployeeJiaoYu where (id is null)" 
          RsPlan.open RsPlansql,conn,1,3
          RsPlan.addnew
	   else
	      set RsPlan=server.createobject("adodb.recordset")
          RsPlansql="select * from EmployeeJiaoYu where   id='"&ID&"'"
          RsPlan.open RsPlansql,conn,1,3  
	   end if 

       RsPlan("tname")=tname
	   RsPlan("学年度")=xueniandu
	   RsPlan("任教科目")=kemu
	   RsPlan("任教年级")=nianji
	   RsPlan("任教班数")=banshu
	   RsPlan("周课时数")=keshi
	   RsPlan("班主任科级组长")=banzhuren
	   RsPlan("合格率")=hegelv
	   RsPlan("优秀率")=youxiulv
	   RsPlan("年度考核结果")=kaohejieguo
 
 
       RsPlan.update
       RsPlan.close
	  
  
	   set RsPlan=nothing  
	   conn.close
	   set conn=nothing
	   response.redirect   "jiaoyu.asp?tname="&tname
%>
