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

📄 ziliaochaxun_dange2.asp

📁 数据库系统方法 方法
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../../Connections/jiazheng.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request.Form("t2") <> "") Then 
  Recordset1__MMColParam = Request.Form("t2")
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_jiazheng_STRING
Recordset1.Source = "SELECT * FROM 家政服务人员详细资料 WHERE 姓名 LIKE '%" + Replace(Recordset1__MMColParam, "'", "''") + "%' ORDER BY 雇员编号 ASC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index

Repeat1__numRows = -1
Repeat1__index = 0
Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
.style1 {
	font-family: "幼圆";
	font-size: 18px;
}
.style2 {color: #006699}
.style3 {font-family: "幼圆"; font-size: 18px; color: #006699; }
.style4 {font-size: 16px}
.style5 {color: #003366}
a:link {
	color: #006699;
	text-decoration: none;
}
a:visited {
	color: #006699;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
-->
</style>
</head>

<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#006699">
  <tr>
    <td align="center" bgcolor="#FFFFFF"><img src="../../image/a0001.jpg" width="800" height="138"></td>
  </tr>
  <tr valign="middle">
    <td height="400" align="center" bgcolor="#FFFFFF" class="style3">
      <% 
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF)) 
%>
      <br>
      <br>
      <table width="600" border="0" align="center" cellspacing="1" bgcolor="#006699">
        <tr align="center" valign="middle" bgcolor="#FFFFFF">
          <td width="76" height="30" class="style3"><div align="center">姓名</div></td>
          <td width="86" height="30" colspan="2" class="style4"><%=(Recordset1.Fields.Item("姓名").Value)%></td>
          <td width="60" height="30"><div align="center" class="style3">性别</div>
              <div align="center"></div></td>
          <td width="50"><div align="center" class="style4"><%=(Recordset1.Fields.Item("性别").Value)%></div></td>
          <td width="60" height="30" class="style3">年龄</td>
          <td width="50" height="30"><div align="center" class="style4"><%=(Recordset1.Fields.Item("年龄").Value)%></div></td>
          <td width="90" class="style3">雇员编号</td>
          <td width="94"><div align="center" class="style4"><%=(Recordset1.Fields.Item("雇员编号").Value)%></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="30" class="style3"><div align="center">籍贯</div></td>
          <td height="30" colspan="2" class="style3"><div align="center" class="style4"><%=(Recordset1.Fields.Item("籍贯").Value)%></div></td>
          <td height="30" colspan="2" class="style3"><div align="center">文化程度</div></td>
          <td height="30" class="style3"><div align="center" class="style4"><%=(Recordset1.Fields.Item("文化程度").Value)%></div></td>
          <td height="30" colspan="2" class="style3">个人健康状况</td>
          <td class="style4"><%=(Recordset1.Fields.Item("个人健康状况").Value)%></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="30" class="style3"><div align="center">联系电话</div></td>
          <td height="30" colspan="3" class="style3"><div align="center" class="style4"><%=(Recordset1.Fields.Item("联系电话").Value)%></div></td>
          <td height="30" colspan="2" class="style3"><div align="center">身份证号码</div></td>
          <td colspan="3"><div align="center" class="style4"><%=(Recordset1.Fields.Item("身份证号码").Value)%></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="30" colspan="2" class="style3"><div align="center">固定居住地</div></td>
          <td height="30" colspan="7" class="style3"><div align="center" class="style4"><%=(Recordset1.Fields.Item("固定居住地").Value)%></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="30" colspan="2" class="style3"><div align="center">个人说明</div></td>
          <td colspan="7"><div align="center" class="style4"><%=(Recordset1.Fields.Item("个人说明").Value)%></div></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td class="style3"><div align="center">聘用状况</div></td>
          <td colspan="3"><div align="center" class="style4"><%=(Recordset1.Fields.Item("聘用状况").Value)%></div></td>
          <td colspan="2" class="style3"><div align="center">工作分类</div></td>
          <td colspan="3" class="style4"><%=(Recordset1.Fields.Item("工作分类").Value)%></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td colspan="9"><form name="form2" method="post" action="">
            <div align="center">
              <p>&nbsp;                </p>
              <p>
                <input type="image" border="0" name="imageField" src="photoshop/<%=(Recordset1.Fields.Item("照片").Value)%>">
                  </p>
            </div>
          </form>          <p align="center">&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p></td>
        </tr>
      </table>
      <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  Recordset1.MoveNext()
Wend
%>
      <form name="form1" method="post" action="">
      </form>
      <p>&nbsp;</p>
    <p><a href="ziliaochaxun_dange.asp">返回单个查询</a></p>
    <p>&nbsp;</p></td>
  </tr>
</table>
<div align="center"></div>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>

⌨️ 快捷键说明

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