<!--#include file="../checkLogin.asp"-->
<!--#include file="../SQLconn.asp"-->
<%
  strdate=Request("strdate")
  strtype=Request("strtype")
  StrGrade=Request("StrGrade")
   
  
'检查权限
       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

'检查权限结束
 
 
   
   StrSql="delete   from banwurizhi  where   Grade='"&StrGrade& "'  and  rizhiType='"&strtype& "' and  rizhidate='"&strdate& "' "
   Conn.Execute(StrSql)
      
   
   response.redirect   "BWPBInput.asp?strGrade="&strgrade&"&strtype="&xiangmu&"&strdate="&pingbiDate
 %>