WageManage.aspx
上传用户:shjujing
上传日期:2022-07-28
资源大小:11244k
文件大小:9k
源码类别:

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WageManage.aspx.cs" Inherits="Module_ProRes_WageManage" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>员工工资管理</title>
  6. </head>
  7. <body style="font-size: 12pt; vertical-align: middle; text-align: center; background-image: url(../../Images/SysSkin/wagemanage.jpg); background-repeat: no-repeat;">
  8.     <form id="form1" runat="server">
  9.         <br />
  10.         <br />
  11.         <table cellpadding="0" cellspacing="0" style="width: 605px; vertical-align: middle; text-align: center; font-size: 9pt;">
  12.             <tr>
  13.                 <td colspan="3" rowspan="3">
  14.                     <asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
  15.                         <table cellpadding="0" cellspacing="0" style="vertical-align: middle; width: 605px;
  16.                             text-align: center">
  17.                             <tr>
  18.                                 <td colspan="3">
  19.                                     <table cellpadding="0" cellspacing="0" style="width: 600px">
  20.                                         <tr>
  21.                                             <td style="width: 100px; height: 23px">
  22.                                                 <span style="font-size: 9pt">查找类别</span></td>
  23.                                             <td style="width: 120px; height: 23px; text-align: left">
  24.                                                 <asp:DropDownList ID="dropClass" runat="server" Font-Size="9pt" Width="120px">
  25.                                                     <asp:ListItem>ID</asp:ListItem>
  26.                                                     <asp:ListItem>员工姓名</asp:ListItem>
  27.                                                     <asp:ListItem>录入人员</asp:ListItem>
  28.                                                 </asp:DropDownList></td>
  29.                                             <td style="width: 100px; height: 23px">
  30.                                                 <span style="font-size: 9pt">关键字</span></td>
  31.                                             <td style="width: 120px; height: 23px; text-align: left">
  32.                                                 <asp:TextBox ID="txtKeyWord" runat="server" Font-Size="9pt" Width="120px"></asp:TextBox></td>
  33.                                             <td style="width: 12px; height: 23px">
  34.                                                 <asp:Button ID="btnFind" runat="server" Font-Size="9pt" OnClick="btnFind_Click" Text="查找" /></td>
  35.                                             <td style="height: 23px">
  36.                                                 <asp:LinkButton ID="lnkbtnAdd" runat="server" Font-Size="9pt" Font-Underline="False"
  37.                                                     ForeColor="#FF3333" OnClick="lnkbtnAdd_Click1" Visible="False">工资录入</asp:LinkButton></td>
  38.                                         </tr>
  39.                                     </table>
  40.                                 </td>
  41.                             </tr>
  42.                             <tr>
  43.                                 <td colspan="3">
  44.                                     <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
  45.                                         OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDataBound="GridView1_RowDataBound"
  46.                                         OnRowDeleting="GridView1_RowDeleting" Width="605px">
  47.                                         <Columns>
  48.                                             <asp:BoundField DataField="ID" HeaderText="ID" />
  49.                                             <asp:BoundField DataField="Name" HeaderText="员工姓名" />
  50.                                             <asp:BoundField DataField="BaseWage" HeaderText="基本工资" />
  51.                                             <asp:BoundField DataField="Bonus" HeaderText="奖金" />
  52.                                             <asp:BoundField DataField="PayMent" HeaderText="实发金额" />
  53.                                             <asp:BoundField DataField="WriteInMan" HeaderText="录入人员" />
  54.                                             <asp:CommandField HeaderText="删除记录" ShowDeleteButton="True" />
  55.                                         </Columns>
  56.                                     </asp:GridView>
  57.                                 </td>
  58.                             </tr>
  59.                         </table>
  60.                     </asp:Panel>
  61.                     <asp:Panel ID="Panel2" runat="server" Height="50px" Visible="False" Width="125px">
  62.                         <table cellpadding="0" cellspacing="0" style="width: 605px">
  63.                             <tr>
  64.                                 <td colspan="4" style="height: 25px">
  65.                                 </td>
  66.                             </tr>
  67.                             <tr>
  68.                                 <td colspan="4" style="height: 23px">
  69.                                     <span style="font-size: 16pt"></span></td>
  70.                             </tr>
  71.                             <tr>
  72.                                 <td style="width: 100px; height: 15px">
  73.                                     员工姓名</td>
  74.                                 <td style="width: 200px; height: 15px; text-align: left">
  75.                                     <asp:TextBox ID="txtName" runat="server" MaxLength="20"></asp:TextBox>
  76.                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="姓名不能为空" ControlToValidate="txtName">*</asp:RequiredFieldValidator></td>
  77.                                 <td style="width: 100px; height: 15px">
  78.                                     基本工资</td>
  79.                                 <td style="width: 200px; height: 15px; text-align: left">
  80.                                     <asp:TextBox ID="txtBaseWage" runat="server" MaxLength="20"></asp:TextBox>元/月<asp:RequiredFieldValidator
  81.                                         ID="RequiredFieldValidator2" runat="server" ErrorMessage="基本工资不能为空" ControlToValidate="txtBaseWage">*</asp:RequiredFieldValidator></td>
  82.                             </tr>
  83.                             <tr>
  84.                                 <td style="height: 17px">
  85.                                     奖金</td>
  86.                                 <td style="height: 17px; text-align: left">
  87.                                     <asp:TextBox ID="txtBounds" runat="server" MaxLength="20"></asp:TextBox>元</td>
  88.                                 <td style="height: 17px">
  89.                                     实发工资</td>
  90.                                 <td style="height: 17px; text-align: left">
  91.                                     <asp:TextBox ID="txtPayMent" runat="server" MaxLength="20"></asp:TextBox>元<asp:RequiredFieldValidator
  92.                                         ID="RequiredFieldValidator3" runat="server" ErrorMessage="实发工资不能为空" ControlToValidate="txtPayMent">*</asp:RequiredFieldValidator></td>
  93.                             </tr>
  94.                             <tr>
  95.                                 <td style="height: 17px">
  96.                                     录入人员</td>
  97.                                 <td style="height: 17px; text-align: left">
  98.                                     <asp:TextBox ID="txtWriteIn" runat="server" MaxLength="20"></asp:TextBox>
  99.                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="录入人员不能为空" ControlToValidate="txtWriteIn">*</asp:RequiredFieldValidator></td>
  100.                                 <td style="height: 17px">
  101.                                 </td>
  102.                                 <td style="height: 17px; text-align: left">
  103.                                 </td>
  104.                             </tr>
  105.                             <tr>
  106.                                 <td colspan="4" style="height: 17px">
  107.                                     <asp:Button ID="Button1" runat="server" Font-Size="9pt" Text="提交" OnClick="Button1_Click" />
  108.                                     <input id="Reset1" style="font-size: 9pt" type="reset" value="重置" />
  109.                                     <asp:Button ID="btnBack" runat="server" Font-Size="9pt" Text="返回" OnClick="btnBack_Click" CausesValidation="False" /><br />
  110.                                     &nbsp;<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
  111.                             ShowSummary="False" />
  112.                     </td>
  113.                             </tr>
  114.                         </table>
  115.                     </asp:Panel>
  116.                 </td>
  117.             </tr>
  118.             <tr>
  119.             </tr>
  120.             <tr>
  121.             </tr>
  122.         </table>
  123.     </form>
  124. </body>
  125. </html>