⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user_update.asp

📁 企业员工年度综合评测系统 Access(V1.060118)版
💻 ASP
字号:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
<!--#include file="forbidon.asp" -->
<!--#include file="conn.asp" -->
<%
var id1=Request("nameid");
var rs = Server.CreateObject("ADODB.Recordset");
rs.ActiveConnection = MM_conn_STRING;
rs.Source = "SELECT name FROM all_user Where nameid="+id1+"";
rs.CursorType = 0;
rs.CursorLocation = 2;
rs.LockType = 1;
rs.Open();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="../imag/cs.css" rel="stylesheet" type="text/css" />
</head>

<body>	
<Script Language="Javascript">
function chk(){

if (document.form.name.value=="")
{
alert ("姓名不能为空,请重新输入");
document.form.name.focus();
document.form.name.select();
return false;
}
return true;
}
</Script> 
<!--#include file="top.asp" -->
<table width="80%" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="atable">
  <tr>
    <td bgcolor="#FFFFFF">
	<form action="user_update_x.asp" method="post" name="form" id="form" onsubmit="return chk()">
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="2">
      <tr>
        <td width="10%" bgcolor="#FFCACA" class="unnamedhei"><div align="center">员工姓名:</div></td>
        <td width="17%" bgcolor="#FFCACA" class="unnamedhei"><div align="center">
          <input name="name" type="text" class="atable" id="name" size="18" value="<%=rs.Fields.Item("name").Value%>" />
        </div></td>
        <td width="73%" bgcolor="#FFCACA" class="unnamedhei"><input name="提交" type="submit" class="binput" value="提交" />
          <input name="button" type="reset" class="binput" value="重置" />
          <input name="idx" type="hidden" id="idx" value="<%=id1%>" />
请在对应的栏目中输入你要修改的信息 (注:修改后密码初始化为:88888888) </td>
        </tr>
    </table>
	</form></td>
  </tr>
</table>
</body>
</html>
<%
rs.Close();
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -