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

📄 ziliaochaxun_chaxun2_pinyong.asp

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

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_jiazheng_STRING
Recordset1.Source = "SELECT * FROM 雇主雇佣情况表 WHERE 雇主编号 = " + 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">
<!--
a:link {
	color: #003366;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #003366;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
-->
</style></head>

<body>

<div align="center">
  <table width="800" border="0" cellspacing="1" bgcolor="#006699">
    <tr>
      <td bgcolor="#FFFFFF"><div align="center"><img src="../../image/a0001.jpg" width="800" height="138"></div></td>
    </tr>
    <tr>
      <td height="400" valign="top" bgcolor="#FFFFFF"><div align="center">
        <p>&nbsp;</p>
        <table width="720"  border="0">
          <tr>
            <td><div align="right"><a href="guzhuguyong_guzhuhao.asp">返回</a></div></td>
          </tr>
        </table>
        <p>&nbsp;</p>
        <table width="400"  border="0" cellspacing="1" bgcolor="#CCCCCC">
          <tr bgcolor="#FFFFFF">
            <td>雇主编号</td>
            <td><div align="center">雇员编号</div></td>
            <td><div align="center">雇佣日期</div></td>
          </tr>
          <% 
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF)) 
%>
          <tr bgcolor="#FFFFFF">
              <td><div align="center"><%=(Recordset1.Fields.Item("雇主编号").Value)%></div></td>
              <td><div align="center"><%=(Recordset1.Fields.Item("雇佣人员编号").Value)%></div></td>
              <td><div align="center"><%=(Recordset1.Fields.Item("雇佣日期").Value)%> </div></td>
          </tr>
          <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  Recordset1.MoveNext()
Wend
%>
        </table>
      </div></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF">&nbsp;</td>
    </tr>
  </table>
</div>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>

⌨️ 快捷键说明

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