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

Email客户端

开发平台:

Visual C++

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="EmployeeInfo.aspx.cs" Inherits="Module_Employee_ProRes_EmployeeInfo" %>
  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="background-image: url(../../Images/SysSkin/employeeinfo.jpg); background-repeat: no-repeat; text-align: center">
  8.     <form id="form1" runat="server">
  9.     <div style="vertical-align: middle; text-align: center">
  10.         <br />
  11.         <br />
  12.         <table cellpadding="0" cellspacing="0" style="width: 600px; height: 243px">
  13.             <tr>
  14.                 <td colspan="3" rowspan="2" style="vertical-align: top; height: 167px; text-align: center">
  15.                     <asp:Panel ID="Panel3" runat="server" Width="125px">
  16.                         <table cellpadding="0" cellspacing="0" style="width: 600px">
  17.                             <tr>
  18.                                 <td colspan="3" style="height: 32px">
  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" Width="120px" Font-Size="9pt">
  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" OnClick="btnFind_Click" Text="查找" Font-Size="9pt" /></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" style="height: 19px">
  44.                                     <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
  45.                                         Font-Size="9pt" OnPageIndexChanging="GridView1_PageIndexChanging" Width="600px">
  46.                                         <Columns>
  47.                                             <asp:BoundField DataField="ID" HeaderText="员工ID" />
  48.                                             <asp:BoundField DataField="Name" HeaderText="员工姓名" />
  49.                                             <asp:BoundField DataField="Sex" HeaderText="员工性别" />
  50.                                             <asp:BoundField DataField="Learn" HeaderText="员工学历" />
  51.                                             <asp:BoundField DataField="PhoneM" HeaderText="手机号码" />
  52.                                             <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="EmployeeAllInfo.aspx?ID={0}"
  53.                                                 HeaderText="查看详情" Text="查看" />
  54.                                         </Columns>
  55.                                     </asp:GridView>
  56.                                 </td>
  57.                             </tr>
  58.                         </table>
  59.                     </asp:Panel>
  60.                     <asp:Panel ID="Panel1" runat="server" Height="50px" Visible="False" Width="600px">
  61.                         <table cellpadding="0" cellspacing="0" style="width: 600px">
  62.                             <tr>
  63.                                 <td colspan="4" style="height: 17px">
  64.                                 </td>
  65.                             </tr>
  66.                             <tr>
  67.                                 <td colspan="4" style="height: 17px">
  68.                                     <span style="font-size: 16pt"></span></td>
  69.                             </tr>
  70.                             <tr>
  71.                                 <td style="width: 100px; height: 19px">
  72.                                     <span style="font-size: 9pt">用户名</span></td>
  73.                                 <td style="font-size: 12pt; width: 200px; height: 19px; text-align: left">
  74.                                     <asp:TextBox ID="txtUid" runat="server" Font-Size="9pt" MaxLength="20" Width="150px"></asp:TextBox>
  75.                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtUid"
  76.                                         ErrorMessage="登录帐号不能为空">*</asp:RequiredFieldValidator></td>
  77.                                 <td style="font-size: 9pt; width: 100px; color: #000000; height: 19px">
  78.                                 </td>
  79.                                 <td rowspan="6" style="font-size: 12pt; width: 203px; text-align: left">
  80.                                     <asp:Image ID="Image1" runat="server" Width="124px" Height="131px" /></td>
  81.                             </tr>
  82.                             <tr>
  83.                                 <td style="width: 100px; height: 19px">
  84.                                 </td>
  85.                                 <td style="font-size: 12pt; width: 200px; height: 19px; text-align: left">
  86.                                     <asp:Button ID="btnVial" runat="server" CausesValidation="False" Font-Size="9pt"
  87.                                         OnClick="btnVial_Click" Text="检测账号" /></td>
  88.                                 <td style="font-size: 9pt; width: 100px; color: #000000; height: 19px">
  89.                                 </td>
  90.                             </tr>
  91.                             <tr>
  92.                                 <td style="width: 100px; height: 17px">
  93.                                     <span style="font-size: 9pt">登录密码</span></td>
  94.                                 <td style="font-size: 12pt; width: 200px; height: 17px; text-align: left">
  95.                                     <asp:TextBox ID="txtPwd" runat="server" Font-Size="9pt" MaxLength="20" Width="150px"></asp:TextBox>
  96.                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtPwd"
  97.                                         ErrorMessage="登录密码不能为空">*</asp:RequiredFieldValidator></td>
  98.                                 <td style="font-size: 9pt; width: 100px; color: #000000; height: 17px">
  99.                                 </td>
  100.                             </tr>
  101.                             <tr>
  102.                                 <td style="width: 100px; height: 17px">
  103.                                     <span style="font-size: 9pt">员工姓名</span></td>
  104.                                 <td style="font-size: 12pt; width: 200px; height: 17px; text-align: left">
  105.                                     <asp:TextBox ID="txtName" runat="server" Font-Size="9pt" Width="150px" MaxLength="20"></asp:TextBox>
  106.                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName"
  107.                                         ErrorMessage="部门名称不能为空">*</asp:RequiredFieldValidator></td>
  108.                                 <td style="font-size: 9pt; width: 100px; color: #000000; height: 17px">
  109.                                     <span>
  110.                                     员工照片</span></td>
  111.                             </tr>
  112.                             <tr>
  113.                                 <td style="width: 100px; height: 17px">
  114.                                     <span style="font-size: 9pt">员工性别</span></td>
  115.                                 <td style="font-size: 12pt; width: 200px; height: 17px; text-align: left">
  116.                                     <asp:RadioButtonList ID="RadioButtonList1" runat="server" Font-Size="9pt" RepeatDirection="Horizontal">
  117.                                         <asp:ListItem Selected="True">男</asp:ListItem>
  118.                                         <asp:ListItem>女</asp:ListItem>
  119.                                     </asp:RadioButtonList></td>
  120.                                 <td style="font-size: 9pt; width: 100px; color: #000000; height: 17px">
  121.                                 </td>
  122.                             </tr>
  123.                             <tr style="font-size: 12pt">
  124.                                 <td style="height: 12px">
  125.                                     <span style="font-size: 9pt">员工生日</span></td>
  126.                                 <td style="font-size: 12pt; height: 12px; text-align: left">
  127.                                     <asp:TextBox ID="txtBirthday" runat="server" Font-Size="9pt" MaxLength="20" Width="150px"></asp:TextBox>
  128.                                     <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtBirthday"
  129.                                         ErrorMessage="格式:yyyy-mm-dd" Operator="DataTypeCheck" Type="Date" Width="3px">*</asp:CompareValidator></td>
  130.                                 <td style="font-size: 12pt; height: 12px">
  131.                                     <span style="font-size: 9pt"></span></td>
  132.                             </tr>
  133.                             <tr style="font-size: 12pt">
  134.                                 <td style="height: 19px">
  135.                                     <span style="font-size: 9pt">员工学历</span></td>
  136.                                 <td style="font-size: 12pt; height: 19px; text-align: left">
  137.                                     <asp:TextBox ID="txtLearn" runat="server" Font-Size="9pt" MaxLength="50" Width="150px"></asp:TextBox></td>
  138.                                 <td style="font-size: 12pt; height: 19px">
  139.                                     <span style="font-size: 9pt">上传照片</span></td>
  140.                                 <td style="font-size: 12pt; width: 203px; height: 19px; text-align: left">
  141.                                     <asp:FileUpload ID="FileUpload1" runat="server" Width="154px" />
  142.                                     <asp:Button ID="btnUpload" runat="server" CausesValidation="False" Font-Size="9pt"
  143.                                         OnClick="btnUpload_Click1" Text="上传" /></td>
  144.                             </tr>
  145.                             <tr style="font-size: 12pt">
  146.                                 <td style="height: 19px">
  147.                                     <span style="font-size: 9pt">是否为管理员</span></td>
  148.                                 <td style="font-size: 12pt; height: 19px; text-align: left">
  149.                                     <asp:RadioButtonList ID="RadioButtonList3" runat="server" Font-Size="9pt" RepeatDirection="Horizontal">
  150.                                         <asp:ListItem Selected="True">是</asp:ListItem>
  151.                                         <asp:ListItem>否</asp:ListItem>
  152.                                     </asp:RadioButtonList></td>
  153.                                 <td style="font-size: 12pt; height: 19px">
  154.                                     <span style="font-size: 9pt">是否在职</span></td>
  155.                                 <td style="font-size: 12pt; width: 203px; height: 19px; text-align: left">
  156.                                     <asp:RadioButtonList ID="RadioButtonList2" runat="server" Font-Size="9pt" RepeatDirection="Horizontal">
  157.                                         <asp:ListItem Selected="True">是</asp:ListItem>
  158.                                         <asp:ListItem>否</asp:ListItem>
  159.                                     </asp:RadioButtonList></td>
  160.                             </tr>
  161.                             <tr style="font-size: 12pt">
  162.                                 <td style="height: 19px">
  163.                                     <span style="font-size: 9pt">所属部门</span></td>
  164.                                 <td style="font-size: 12pt; height: 19px; text-align: left">
  165.                                     <asp:DropDownList ID="dropDept" runat="server" Font-Size="9pt" Width="155px">
  166.                                     </asp:DropDownList></td>
  167.                                 <td style="font-size: 12pt; height: 19px">
  168.                                     <span style="font-size: 9pt">员工职位</span></td>
  169.                                 <td style="font-size: 12pt; width: 203px; height: 19px; text-align: left">
  170.                                     <asp:TextBox ID="txtPost" runat="server" Font-Size="9pt" Width="150px" MaxLength="50"></asp:TextBox></td>
  171.                             </tr>
  172.                             <tr style="font-size: 12pt">
  173.                                 <td style="height: 19px">
  174.                                     <span style="font-size: 9pt">籍 &nbsp; &nbsp; &nbsp;&nbsp;贯</span></td>
  175.                                 <td style="font-size: 12pt; height: 19px; text-align: left">
  176.                                     <asp:TextBox ID="txtNaPlace" runat="server" Font-Size="9pt" MaxLength="100" Width="150px"></asp:TextBox></td>
  177.                                 <td style="font-size: 12pt; height: 19px">
  178.                                     <span style="font-size: 9pt">民 &nbsp; &nbsp; &nbsp;&nbsp;族</span></td>
  179.                                 <td style="font-size: 12pt; width: 203px; height: 19px; text-align: left">
  180.                                     <asp:TextBox ID="txtNation" runat="server" Font-Size="9pt" MaxLength="20" Width="150px"></asp:TextBox></td>
  181.                             </tr>
  182.                             <tr style="font-size: 12pt">
  183.                                 <td style="height: 19px">
  184.                                     <span style="font-size: 9pt">家庭住址</span></td>
  185.                                 <td style="font-size: 12pt; height: 19px; text-align: left">
  186.                                     <asp:TextBox ID="txtAddress" runat="server" Font-Size="9pt" MaxLength="200" Width="150px"></asp:TextBox></td>
  187.                                 <td style="font-size: 12pt; height: 19px">
  188.                                     <span style="font-size: 9pt">邮政编码</span></td>
  189.                                 <td style="font-size: 12pt; width: 203px; height: 19px; text-align: left">
  190.                                     <asp:TextBox ID="txtPostCard" runat="server" Font-Size="9pt" MaxLength="100" Width="150px"></asp:TextBox></td>
  191.                             </tr>
  192.                             <tr style="font-size: 12pt">
  193.                                 <td style="height: 19px">
  194.                                     <span style="font-size: 9pt">家庭电话</span></td>
  195.                                 <td style="font-size: 12pt; height: 19px; text-align: left">
  196.                                     <asp:TextBox ID="txtPhoneH" runat="server" Font-Size="9pt" MaxLength="100" Width="150px"></asp:TextBox></td>
  197.                                 <td style="font-size: 12pt; height: 19px">
  198.                                     <span style="font-size: 9pt">工作电话</span></td>
  199.                                 <td style="font-size: 12pt; width: 203px; height: 19px; text-align: left">
  200.                                     <asp:TextBox ID="txtPhoneJ" runat="server" Font-Size="9pt" MaxLength="20" Width="150px"></asp:TextBox></td>
  201.                             </tr>
  202.                             <tr style="font-size: 12pt">
  203.                                 <td style="height: 19px">
  204.                                     <span style="font-size: 9pt">手机号码</span></td>
  205.                                 <td style="font-size: 12pt; height: 19px; text-align: left">
  206.                                     <asp:TextBox ID="txtPhoneM" runat="server" Font-Size="9pt" MaxLength="20" Width="150px"></asp:TextBox></td>
  207.                                 <td style="font-size: 12pt; height: 19px">
  208.                                     <span style="font-size: 9pt">身 份 证</span></td>
  209.                                 <td style="font-size: 12pt; width: 203px; height: 19px; text-align: left">
  210.                                     <asp:TextBox ID="txtIdenCard" runat="server" Font-Size="9pt" MaxLength="20" Width="150px"></asp:TextBox>
  211.                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtIdenCard"
  212.                                         ErrorMessage="身份证号码不能为空">*</asp:RequiredFieldValidator></td>
  213.                             </tr>
  214.                             <tr style="font-size: 12pt">
  215.                                 <td style="height: 19px">
  216.                                     <span style="font-size: 9pt">开始工作时间</span></td>
  217.                                 <td style="font-size: 12pt; height: 19px; text-align: left">
  218.                                     <asp:TextBox ID="txtJobTime" runat="server" Font-Size="9pt" MaxLength="20" Width="150px"></asp:TextBox>
  219.                                     <asp:CompareValidator ID="CompareValidator4" runat="server" ControlToValidate="txtJobTime"
  220.                                         ErrorMessage="格式:yyyy-mm-dd" Operator="DataTypeCheck" Type="Date" Width="3px">*</asp:CompareValidator></td>
  221.                                 <td style="font-size: 12pt; height: 19px">
  222.                                     <span style="font-size: 9pt">进入公司时间</span></td>
  223.                                 <td style="font-size: 12pt; width: 203px; height: 19px; text-align: left">
  224.                                     <asp:TextBox ID="txtJobCompanyTime" runat="server" Font-Size="9pt" MaxLength="20"
  225.                                         Width="150px"></asp:TextBox>
  226.                                     <asp:CompareValidator ID="CompareValidator5" runat="server" ControlToValidate="txtJobCompanyTime"
  227.                                         ErrorMessage="格式:yyyy-mm-dd" Operator="DataTypeCheck" Type="Date" Width="3px">*</asp:CompareValidator></td>
  228.                             </tr>
  229.                             <tr style="font-size: 12pt">
  230.                                 <td style="height: 19px">
  231.                                     <span style="font-size: 9pt">合同开始时间</span></td>
  232.                                 <td style="font-size: 12pt; height: 19px; text-align: left">
  233.                                     <asp:TextBox ID="txtPactStart" runat="server" Font-Size="9pt" MaxLength="20" Width="150px"></asp:TextBox>
  234.                                     <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="txtPactStart"
  235.                                         ErrorMessage="格式:yyyy-mm-dd" Operator="DataTypeCheck" Type="Date" Width="3px">*</asp:CompareValidator></td>
  236.                                 <td style="font-size: 12pt; height: 19px">
  237.                                     <span style="font-size: 9pt">合同结束时间</span></td>
  238.                                 <td style="font-size: 12pt; width: 203px; height: 19px; text-align: left">
  239.                                     <asp:TextBox ID="txtPactEnd" runat="server" Font-Size="9pt" MaxLength="20" Width="150px"></asp:TextBox>
  240.                                     <asp:CompareValidator ID="CompareValidator3" runat="server" ControlToValidate="txtPactEnd"
  241.                                         ErrorMessage="格式:yyyy-mm-dd" Operator="DataTypeCheck" Type="Date" Width="3px">*</asp:CompareValidator></td>
  242.                             </tr>
  243.                             <tr>
  244.                                 <td colspan="4" rowspan="1" style="text-align: center">
  245.                                     <asp:Button ID="btnOK" runat="server" Font-Size="9pt"  Text="提交" OnClick="btnOK_Click" />
  246.                                     <input id="Reset1" style="font-size: 9pt" type="reset" value="重置" />
  247.                                     <asp:Button ID="btnBack" runat="server" Font-Size="9pt"  Text="返回" OnClick="btnBack_Click" CausesValidation="False" /></td>
  248.                             </tr>
  249.                             <tr>
  250.                                 <td colspan="4" rowspan="1" style="height: 15px; text-align: center">
  251.                                     &nbsp;&nbsp;<asp:ValidationSummary ID="ValidationSummary1" runat="server" Font-Size="9pt"
  252.                                         ShowMessageBox="True" ShowSummary="False" />
  253.                                 </td>
  254.                             </tr>
  255.                         </table>
  256.                     </asp:Panel>
  257.                 </td>
  258.             </tr>
  259.             <tr>
  260.             </tr>
  261.         </table>
  262.     
  263.     </div>
  264.     </form>
  265. </body>
  266. </html>