<%
 
   curpage=Request.QueryString("curpage") 
   years=request("years")
   ftype=request("ftype")
   strId=request("id")
 
 		   
     Set    MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
     call   MyOAASPObj.DelTableRecord("wendang","id",strID)
     set    MyOAASPObj=nothing  
   if ftype="" then
       response.redirect   "yingjiao.asp?years="&years
   else
       response.redirect   "viewyingjiao.asp?years="&years&"&ftype="&ftype&"&btn=admin"
   end if
 %>
 