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

<%
  louhao = TRIM( Request( "louhao"))
  shehao = TRIM( Request( "shehao"))
  
  strId=request("id")
 

  strmemo = TRIM( Request( "memo" ) )
  fenshu = TRIM( Request( "fenshu" ) )
 
   
   set Rssave=server.createobject("adodb.recordset")
       Rssavesql="select * from banwurizhi where  id='"&strId& "'"
       Rssave.open Rssavesql,conn,1,3
	   
      
	   Rssave("shuoming")=strmemo
	   Rssave("fenshu")=fenshu
	   Rssave("updatetime")=now
	   Rssave("teachers")=Rssave("teachers")&"->"&request.cookies("tname")
       strip=Request.ServerVariables("REMOTE_ADDR")
       Rssave("upip")=strip
	  
	  
       Rssave.update
       Rssave.close
	   response.redirect   "SheYuanDeyuList.asp?louhao="&louhao&"&shehao="&shehao
%>
