📄 wageinputstep1.asp
字号:
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/DatabaseConnection.asp" -->
<%
set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_DatabaseConnection_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>员工工资录入</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">
</HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0>
<!--#include file="Default_Top.asp"-->
<TABLE width="760" border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD width=1 background="images/dotLine_h.gif"><IMG src="images/shim(1).gif" width=1></TD>
<TD Width="100" align="center" bgcolor="#EEEEEE"> </TD>
<td width="10" bgcolor="#F2FBF2"></td>
<TD bgcolor="#F2FBF2"><img src="images/ScoreInput_Title.GIF" width="500" height="60"><br>
<table cellspacing=0 cellpadding=0 width="80%" border=0>
<tr>
<td> <form Name="form1" action="WageInputStep2.asp" method="post">
<br>
第一步:选择工资月份<br>
<br>
<table width="100%" border="1" align="center" cellpadding="5" cellspacing="1" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
<tr>
<td width="32%" height="40" align="right">请选择工资月份数据表:</td>
<td width="68%"> <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> <font color="#FF0000">*</font></td>
</tr>
<tr>
<td height="43" colspan="2" align="center"><input type="submit" Name="Submit" value="下一步"></td>
</tr>
</table>
</form></td>
</tr>
</table> </td>
<TD width=1 background="images/dotLine_h.gif"><IMG src="images/shim(1).gif" width=1></TD>
</TR>
<tr>
<TD height="1" colspan="7" background="images/dotLine_w.gif"><IMG height=1 src="images/shim(1).gif" width=100></TD>
</tr>
</TBODY>
</TABLE>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<Iframe src="CopyRight.asp" width="760" height="200" marginheight="0" marginwidth="0" scrolling="NO" frameborder="0" name="CopyRight"></iframe>
</td>
</tr>
</table></BODY>
</HTML>
<%
Recordset1.Close()
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -