
<!--#include file="../SQLconn.asp"-->


<%   
    strId=request("id")
	fenshu=request("fenshu")
	shuoming=request("shuoming")

	set rs=server.createobject("adodb.recordset")
       Rssavesql="select * from banwurizhi where  id='"&strId& "'"
       rs.open Rssavesql,conn,1,3
	    
	   rs("fenshu")=fenshu
	   rs("shuoming")=shuoming
	   
	   strGrade=rs("grade")
	   strtype=rs("rizhiType")
	   strdate=rs("rizhidate")
	   rs("teachers")=rs("teachers")&"->"&request.cookies("tname")
	  
       rs.update
       rs.close
	   
	   
	   
       response.redirect   "OneBWPBmingxi.asp?strGrade="&strGrade&"&strtype="&strtype&"&strdate="&strdate
%>

	   
<%=strId%><%=fenshu%><%=shuoming%>