<!--#include file="conn.asp"-->
<!--#include file="conn1.asp"-->
<%
hym=request("chrhym")
hybh=request("chrhybh")
old=request("oldchrhybh")
set rs=server.CreateObject("adodb.recordset")
set rst=server.CreateObject("adodb.recordset")
sql="select * from hyzl where chrhym='"&hym&"' and chrhybh='"&hybh&"'"
sqlu="update hyzl set chrhybh='"&hybh&"',old='"&old&"' where chrhybh='"&old&"' and chrhym='"&hym&"'"
conn.execute(sqlu)
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.Write "<script language=javascript>alert('转库成功!');</script>"
response.Write "<a href='#' onClick='javascript:history.go(-1)'>返回</a>"
end if
%>