<!--#include file="../SQLconn.asp"-->
<% 
    strid=request("id")
    leibie=request("leibie")
	shenpiren=request("shenpiren")
	begindate=request("begindate")
    begintime=request("begintime")
	enddate=request("enddate")
    endtime=request("endtime")
	tianshu=request("tianshu")
	kecheng=request("kecheng")
	shuoming=request("shuoming")
   
   set Rsqingjia=server.createobject("adodb.recordset")
       Rsqingjiasql="select * from KaoQinQingJia where  id='"&strId& "'"
       Rsqingjia.open Rsqingjiasql,conn,1,3

	   Rsqingjia("类型")=leibie
	   Rsqingjia("审批人")=shenpiren
	   Rsqingjia("申请人")=request.cookies("tname")
	   Rsqingjia("开始日期")=begindate
	   Rsqingjia("开始时间")=begintime
	   Rsqingjia("结束日期")=enddate
       Rsqingjia("结束时间")=endtime
	   Rsqingjia("请假天数")=tianshu
	   Rsqingjia("课程安排")=kecheng
	   Rsqingjia("说明")=shuoming
	   Rsqingjia("申请时间")=now()
	   Rsqingjia("申请电脑")=Request.ServerVariables("REMOTE_ADDR")
     
	  
       Rsqingjia.update
       Rsqingjia.close
	   response.redirect   "QingJiaList.asp"
%>

<%=leibie%>