EmpBase.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:12k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page Language="c#" AutoEventWireup="false" Codebehind="EmpBase.aspx.cs" Inherits="qminoa.Webs.MR.EmpBase" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4. <HEAD>
  5. <title></title>
  6. <META content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7. <META content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8. <META content="JavaScript" name="vs_defaultClientScript">
  9. <META content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../lynn.css" type="text/css" rel="stylesheet">
  11. </HEAD>
  12. <BODY bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" MS_POSITIONING="GridLayout">
  13. <FORM id="Form1" method="post" runat="server">
  14. <FONT face="宋体">
  15. <TABLE style="WIDTH: 100%; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
  16. <TR>
  17. <TD style="HEIGHT: 12px"></TD>
  18. </TR>
  19. <TR>
  20. <TD vAlign="top" align="middle">
  21. <TABLE id="Table1" cellSpacing="0" cellPadding="1" width="300" bgColor="black" border="0">
  22. <TR>
  23. <TD>
  24. <TABLE id="Table2" style="WIDTH: 560px; HEIGHT: 422px" cellSpacing="0" cellPadding="0" width="560" bgColor="white" border="0">
  25. <TR>
  26. <TD style="HEIGHT: 257px" vAlign="top">
  27. <TABLE id="Table3" height="22" cellSpacing="0" cellPadding="0" width="100%" border="0">
  28. <TR>
  29. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr3" runat="server" ImageUrl="../img/emp/mr3.gif" Height="22px"></asp:imagebutton></TD>
  30. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMR31" onmouseover="this.src='../img/emp/mr3100.gif';" onmouseout="this.src='../img/emp/mr310.gif';" runat="server" ImageUrl="../img/emp/mr310.gif"></asp:imagebutton></TD>
  31. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr32" onmouseover="this.src='../img/emp/mr3200.gif';" onmouseout="this.src='../img/emp/mr320.gif';" runat="server" ImageUrl="../img/emp/mr320.gif"></asp:imagebutton></TD>
  32. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr33" onmouseover="this.src='../img/emp/mr3300.gif';" onmouseout="this.src='../img/emp/mr330.gif';" runat="server" ImageUrl="../img/emp/mr330.gif"></asp:imagebutton></TD>
  33. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr34" onmouseover="this.src='../img/emp/mr3400.gif';" onmouseout="this.src='../img/emp/mr340.gif';" runat="server" ImageUrl="../img/emp/mr340.gif"></asp:imagebutton></TD>
  34. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr35" onmouseover="this.src='../img/emp/mr3500.gif';" onmouseout="this.src='../img/emp/mr350.gif';" runat="server" ImageUrl="../img/emp/mr350.gif"></asp:imagebutton></TD>
  35. <TD style="WIDTH: 1px"><asp:imagebutton id="cmdMr36" onmouseover="this.src='../img/emp/mr3600.gif';" onmouseout="this.src='../img/emp/mr360.gif';" runat="server" ImageUrl="../img/emp/mr360.gif"></asp:imagebutton></TD>
  36. <TD class="tttable" style="WIDTH: 1px" noWrap></TD>
  37. <TD class="tttable" noWrap>&nbsp;&nbsp;
  38. </TD>
  39. </TR>
  40. </TABLE>
  41. <DIV class="box" style="WIDTH: 99.98%; POSITION: relative; HEIGHT: 287px" ms_positioning="GridLayout">
  42. <asp:textbox id="txtLoginid" style="Z-INDEX: 101; LEFT: 91px; POSITION: absolute; TOP: 16px" runat="server" Height="20px" width="153px" CssClass="edline" Font-Size="X-Small"></asp:textbox><asp:label id="Label4" style="Z-INDEX: 102; LEFT: 28px; POSITION: absolute; TOP: 19px" runat="server" Height="18px" CssClass="tttable" Font-Size="X-Small" Width="58px">登录帐号</asp:label>
  43. <asp:requiredfieldvalidator id="RequiredFieldValidator2" style="Z-INDEX: 103; LEFT: 258px; POSITION: absolute; TOP: 16px" runat="server" Font-Size="X-Small" Width="10px" errormessage="[登录帐号]必须输入!" InitialValue="" Display="Static" ControlToValidate="txtLoginid">*</asp:requiredfieldvalidator><asp:label id="Label3" style="Z-INDEX: 104; LEFT: 24px; POSITION: absolute; TOP: 48px" runat="server" Height="16px" CssClass="tttable" Font-Size="X-Small" Width="67px">人员姓名 </asp:label>
  44. <asp:textbox id="txtName" style="Z-INDEX: 105; LEFT: 91px; POSITION: absolute; TOP: 47px" runat="server" Height="20px" width="152px" CssClass="edline" Font-Size="X-Small"></asp:textbox>
  45. <asp:requiredfieldvalidator id="RequiredFieldValidator1" style="Z-INDEX: 106; LEFT: 255px; POSITION: absolute; TOP: 48px" runat="server" Font-Size="X-Small" Width="10px" errormessage="[人员姓名]必须输入!" InitialValue="" Display="Static" ControlToValidate="txtName">*</asp:requiredfieldvalidator><asp:label id="Label9" style="Z-INDEX: 107; LEFT: 24px; POSITION: absolute; TOP: 80px" runat="server" CssClass="tttable" Font-Size="X-Small">电子邮件</asp:label>
  46. <asp:regularexpressionvalidator id="Re1" style="Z-INDEX: 108; LEFT: 255px; POSITION: absolute; TOP: 80px" runat="server" Font-Size="X-Small" errormessage="[电子邮件]地址格式错误!" Display="Static" ControlToValidate="txtEmail" ValidationExpression="w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*">#
  47.          </asp:regularexpressionvalidator><asp:textbox id="txtEmail" style="Z-INDEX: 109; LEFT: 91px; POSITION: absolute; TOP: 79px" runat="server" Height="20px" width="153px" CssClass="edline" Font-Size="X-Small"></asp:textbox><asp:label id="Label5" style="Z-INDEX: 110; LEFT: 24px; POSITION: absolute; TOP: 114px" runat="server" Height="20px" CssClass="tttable" Font-Size="X-Small" Width="64px">办公电话</asp:label>
  48.          <asp:textbox id="txtOfficetel" style="Z-INDEX: 111; LEFT: 91px; POSITION: absolute; TOP: 113px" runat="server" Height="20px" width="153px" CssClass="edline" Font-Size="X-Small"></asp:textbox><asp:label id="Label6" style="Z-INDEX: 112; LEFT: 23px; POSITION: absolute; TOP: 182px" runat="server" Height="20px" CssClass="tttable" Font-Size="X-Small" Width="76px">移动电话</asp:label>
  49.          <asp:label id="Label7" style="Z-INDEX: 113; LEFT: 23px; POSITION: absolute; TOP: 148px" runat="server" Height="12px" CssClass="tttable" Font-Size="X-Small" Width="88px">办公室传真</asp:label>
  50.          <asp:textbox id="txtOfficefax" style="Z-INDEX: 114; LEFT: 90px; POSITION: absolute; TOP: 147px" runat="server" Height="20px" width="153px" CssClass="edline" Font-Size="X-Small"></asp:textbox><asp:textbox id="txtMobile" style="Z-INDEX: 115; LEFT: 90px; POSITION: absolute; TOP: 181px" runat="server" Height="20px" width="153px" CssClass="edline" Font-Size="X-Small"></asp:textbox>
  51.          <asp:label id="Label1" style="Z-INDEX: 116; LEFT: 286px; POSITION: absolute; TOP: 178px" runat="server" Height="13px" CssClass="tttable" Font-Size="X-Small" Width="72px">人员编码 </asp:label>
  52.          <asp:textbox id="txtEmpcode" style="Z-INDEX: 117; LEFT: 355px; POSITION: absolute; TOP: 176px" runat="server" Height="20px" width="163px" CssClass="edline" Font-Size="X-Small"></asp:textbox><asp:label id="Label2" style="Z-INDEX: 118; LEFT: 30px; POSITION: absolute; TOP: 215px" runat="server" Height="13px" CssClass="tttable" Font-Size="X-Small" Width="56px">机 构</asp:label>
  53.          <asp:requiredfieldvalidator id="valBranch" style="Z-INDEX: 119; LEFT: 261px; POSITION: absolute; TOP: 219px" runat="server" Font-Size="X-Small" ControlToValidate="dropBranch" ErrorMessage="必须选取人员所在[机构]!">*</asp:requiredfieldvalidator>
  54.          <asp:label id="Label14" style="Z-INDEX: 120; LEFT: 293px; POSITION: absolute; TOP: 216px" runat="server" CssClass="tttable" Font-Size="X-Small">性别 </asp:label>
  55.          <asp:radiobuttonlist id="EmpSex" style="Z-INDEX: 121; LEFT: 355px; POSITION: absolute; TOP: 215px" RepeatDirection="Horizontal" Runat="server" AutoPostBack=False>
  56. <asp:ListItem Text="男" Value="0" Selected=True></asp:ListItem>
  57. <asp:ListItem Text="女" Value="1"></asp:ListItem>
  58. </asp:radiobuttonlist><IMG id="lnkEmpPic" title="人员照片" style="Z-INDEX: 123; BORDER-LEFT-COLOR: #0099cc; LEFT: 348px; BORDER-BOTTOM-COLOR: #0099cc; BORDER-TOP-STYLE: solid; BORDER-TOP-COLOR: #0099cc; BORDER-RIGHT-STYLE: solid; BORDER-LEFT-STYLE: solid; POSITION: absolute; TOP: 11px; BORDER-RIGHT-COLOR: #0099cc; BORDER-BOTTOM-STYLE: solid" src="../img/logo2.jpg" border="2" runat="server" BorderWidth="1px">
  59. <asp:linkbutton id="cmdAddPic" style="Z-INDEX: 124; LEFT: 376px; POSITION: absolute; TOP: 144px" runat="server" Font-Size="X-Small"><img src="../img/empphoto.gif" border="0" align="absbottom">上传人员照片</asp:linkbutton>
  60. <asp:dropdownlist id=dropBranch style="Z-INDEX: 125; LEFT: 90px; POSITION: absolute; TOP: 212px" runat="server" Height="24px" Font-Size="X-Small" Width="152px" AutoPostBack="True" DataSource="<%# BraTB %>" DataValueField="BranchID" DataTextField="SimpleCode">
  61. </asp:dropdownlist><asp:label id="Label8" style="Z-INDEX: 126; LEFT: 30px; POSITION: absolute; TOP: 252px" runat="server" Height="26px" Font-Size="X-Small" Width="48px">部 门</asp:label><asp:label id="Label10" style="Z-INDEX: 127; LEFT: 292px; POSITION: absolute; TOP: 256px" runat="server" Height="24px" Font-Size="X-Small" Width="40px">职 务</asp:label>
  62. <asp:dropdownlist id=dropDep AutoPostBack=False style="Z-INDEX: 128; LEFT: 87px; POSITION: absolute; TOP: 250px" runat="server" Height="20px" Font-Size="X-Small" Width="168px" DataSource="<%# DepTB %>" DataValueField="DepID" DataTextField="DepName">
  63. </asp:dropdownlist><asp:dropdownlist id=dropPosition AutoPostBack=False style="Z-INDEX: 129; LEFT: 367px; POSITION: absolute; TOP: 254px" runat="server" Height="20px" Font-Size="X-Small" Width="168px" DataSource="<%# PositionLst %>">
  64. </asp:dropdownlist><asp:requiredfieldvalidator id="RequiredFieldValidator3" style="Z-INDEX: 130; LEFT: 263px; POSITION: absolute; TOP: 253px" runat="server" Font-Size="X-Small" ControlToValidate="dropDep" ErrorMessage="部门名称不能为空">*</asp:requiredfieldvalidator></DIV>
  65. </TD>
  66. </TR>
  67. <TR>
  68. <TD style="WIDTH: 549px" vAlign="top">
  69. <TABLE id="Table4" cellSpacing="0" cellPadding="0" width="100%" border="0">
  70. <TR>
  71. <TD noWrap>&nbsp;
  72. <asp:imagebutton id="cmdSaveCon" runat="server" ImageUrl="../img/button/savecon.gif"></asp:imagebutton><asp:imagebutton id="cmdSaveExi" runat="server" ImageUrl="../img/button/saveexi.gif"></asp:imagebutton><asp:imagebutton id="cmdExit" runat="server" ImageUrl="../img/button/exit.gif" CausesValidation="False"></asp:imagebutton><A href="empview.aspx" target="_blank"></A></TD>
  73. <TD noWrap align="right">
  74. <TABLE id="Table5" borderColor="#999999" cellSpacing="0" cellPadding="0" width="200" border="0">
  75. <TR>
  76. <TD noWrap align="middle"></TD>
  77. </TR>
  78. </TABLE>
  79. </TD>
  80. </TR>
  81. </TABLE>
  82. <asp:validationsummary id="valSum" runat="server" CssClass="td" Font-Size="X-Small" ShowMessageBox="True" ShowSummary="False" HeaderText="试图保存人员信息时,出现如下错误。"></asp:validationsummary><asp:label id="lblEmpID" runat="server" Height="20px" Font-Size="X-Small" Width="74px" Visible="False"></asp:label>
  83. <asp:label id="lblErr" runat="server" Height="20px" CssClass="err" Font-Size="X-Small" Visible="False"></asp:label>
  84. <asp:label id="lblFileID" runat="server" Font-Size="X-Small"></asp:label></TD>
  85. </TR>
  86. </TABLE>
  87. </TD>
  88. </TR>
  89. </TABLE>
  90. </TD>
  91. </TR>
  92. </TABLE>
  93. </FONT>
  94. </FORM>
  95. </BODY>
  96. </HTML>