代码: <%if Request.QueryString("mod")="yes" then user=Request("user") dz=Request("dz") tel=Request("tel") zjh=Request("zjh") jdrq=Request("jdrq") gz=Request("gz") th=Request("th") sz=Request("sz") xsj=Request("xsj") jz=Request("jz") Remarks=Request("Remarks") tx=Request("tx") If dz="" or tel="" or zjh="" or jdrq="" or th="" Then response.write"<SCRIPT language=JavaScript>alert('请按照规定修改您的信息!');" response.write"javascript:history.go(-1)</SCRIPT>" response.end end if If gz="请选择工种" Then response.write"<SCRIPT language=JavaScript>alert('请选择工种!');" response.write"javascript:history.go(-1)</SCRIPT>" response.end end if Set rs = Server.CreateObject("ADODB.Recordset") sql="select * from [jy_lp] where id="&request("id") rs.open sql,conn,1,3 rs("user")=user rs("dz")=dz rs("tel")=tel rs("zjh")=zjh rs("jdrq")=jdrq rs("gz")=gz rs("th")=th rs("sz")=sz rs("xsj")=xsj rs("jz")=jz rs("Remarks")=Remarks rs("tx")=tx rs.update rs.close response.redirect "login.asp" end if%>