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

📄 scoreoutputstep1.asp

📁 工资管理系统功能齐全包括工人工资信息查询.
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT"%> 
<!--#include file="StudentConn.asp" -->
<%
set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_StudentConn_STRING
Recordset1.Source = "SELECT * FROM TestName ORDER BY id DESC"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>员工工资导出Excel</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2600.0" Name=GENERATOR>
<link href="home.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {
	font-size: 18px;
	font-weight: bold;
}
-->
</style>
</HEAD>
<BODY text=#000000 bgColor=#f7f7ff leftMargin=0 topMargin=0>
<!--#include file="ScoreManage_Top.asp"-->
<TABLE width="760" border=0 align="center" cellPadding=0 cellSpacing=0>
    <TR> 
      <TD align="center" bgcolor="#F7f7ff"><br>
        <br>
        <span class="STYLE1">导出第一步:请选择月库</span><br>
        <br>
        <br>
        <table width="400" border="1"cellpadding="5" cellspacing="0" bordercolor="#CCCCFF" style="border-collapse:collapse">
          <form Name="form1" action="ScoreOutputStep2.asp" method="post">
            <tr valign="middle"> 
              <td width="120" height="30" align="right"><font color="#FF0000">※</font>按月库查询:</td>
              <td width="150" height="30">
			  <select Name="sheetName">
              <%
				i=0						
				While (NOT Recordset1.EOF)
					if i=0 then
						response.Write "<option value='" & Recordset1.Fields.Item("SheetName").Value & "' selected>" & Recordset1.Fields.Item("TestName").Value & "</option>"
					else
						response.Write "<option value='" & Recordset1.Fields.Item("SheetName").Value & "'>" & Recordset1.Fields.Item("TestName").Value & "</option>"
					end if
					i=i+1
					Recordset1.MoveNext()
				Wend
				If (Recordset1.CursorType > 0) Then
				  Recordset1.MoveFirst
				Else
				  Recordset1.Requery
				End If
			  %></select></td>
              <td width="200" height="30"><input type="submit" name="Submit" value="下一步"></td>
            </tr>
          </form>
      </table> 
      <br>
      <br></td>
    </TR>
</TABLE>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
		<Iframe src="CopyRight.asp" width="760" height="100" marginheight="0" marginwidth="0" scrolling="NO" frameborder="0" name="CopyRight"></iframe>
	</td>
  </tr>
</table></BODY>
</HTML>
<%
	Recordset1.Close()
	Set Recordset1 = Nothing
%>

⌨️ 快捷键说明

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