NewStaff.aspx
上传用户:jdb8708888
上传日期:2013-05-29
资源大小:19971k
文件大小:7k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="NewStaff.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.Position.NewStaff" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>NewStaff</title>
  6. <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  7. <meta content="C#" 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="../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  11. <script language="JavaScript" src="../../Css/meizzDate.js"></script>
  12. <style>.td { FONT-SIZE: 14px; COLOR: #0000ff }
  13. </style>
  14. <script language="javascript">
  15. function ReturnBack(ReturnType)
  16. {
  17. if(ReturnType==0)
  18. location.href ="ListView.aspx?Position_ID=<%=PositionID%>";
  19. else
  20. location.href ="../Staff/ManageStaff.aspx";
  21. }
  22. </script>
  23. </HEAD>
  24. <body leftMargin="0" topMargin="0">
  25. <form id="NewStaff" method="post" runat="server">
  26. <CENTER>
  27. <TABLE id="Table2" borderColor="#111111" height="1" cellSpacing="0" cellPadding="0" width="100%"
  28. border="0">
  29. <TR height="30">
  30. <TD class="GbText" width="3%" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6"><FONT color="#003366" size="3"><IMG alt="" src="../../DataImages/ClientManage.gif"></FONT></TD>
  31. <TD class="GbText" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6"><B><B><B><FONT face="宋体">员工注册</FONT></B></B></B></TD>
  32. <TD class="GbText" align="right" background="../../Images/treetopbg.jpg" bgColor="#c0d9e6"></TD>
  33. </TR>
  34. </TABLE>
  35. <table class="gbtext" id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#93bee2"
  36. cellSpacing="0" cellPadding="0" width="100%" border="1" runat="server">
  37. <tr bgColor="#e8f4ff">
  38. <td style="HEIGHT: 34px" align="right" width="20%" height="34">用户姓名:</td>
  39. <td style="HEIGHT: 34px" height="34">&nbsp;<asp:textbox id="txtStaffName" CssClass="InputCss" Runat="server" Columns="70" Width="382"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ErrorMessage="请输入姓名" ControlToValidate="txtStaffName"
  40. Font-Size="X-Small"></asp:requiredfieldvalidator><asp:literal id="message" runat="server" EnableViewState="False"></asp:literal></td>
  41. </tr>
  42. <tr>
  43. <td align="right" width="20%" height="30">真实姓名:</td>
  44. <td height="30">&nbsp;<asp:textbox id="txtRealName" CssClass="InputCss" Runat="server" Columns="70" Width="382"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ErrorMessage="请输入真实姓名" ControlToValidate="txtRealName"
  45. Font-Size="X-Small"></asp:requiredfieldvalidator></td>
  46. </tr>
  47. <tr bgColor="#e8f4ff">
  48. <td align="right" width="20%" height="30">性别:</td>
  49. <td height="30">&nbsp;<asp:radiobutton id="rb_male" Runat="server" GroupName="rSex" Checked="True" Text="男"></asp:radiobutton><asp:radiobutton id="rb_female" Runat="server" GroupName="rSex" Checked="False" Text="女"></asp:radiobutton></td>
  50. </tr>
  51. <tr>
  52. <td align="right" width="20%" height="30">出生日期:</td>
  53. <td height="30">&nbsp;<asp:textbox id="txtBirthday" onfocus="setday(this)" CssClass="InputCss" Runat="server" Columns="70"
  54. Width="383" ReadOnly="True"></asp:textbox></td>
  55. </tr>
  56. <tr bgColor="#e8f4ff">
  57. <td align="right" width="20%" height="30">密码:</td>
  58. <td height="30">&nbsp;<asp:textbox id="txtPassword" runat="server" CssClass="InputCss" Width="383px" TextMode="Password"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator4" runat="server" ErrorMessage="密码不能为空" ControlToValidate="txtPassword"
  59. Font-Size="X-Small"></asp:requiredfieldvalidator></td>
  60. </tr>
  61. <tr>
  62. <td align="right" width="20%" height="30">重复密码:</td>
  63. <td height="30">&nbsp;<asp:textbox id="txtRePassword" runat="server" CssClass="InputCss" Width="382px" TextMode="Password"></asp:textbox><asp:comparevalidator id="CompareValidator1" runat="server" ErrorMessage="密码确认错误" ControlToValidate="txtRePassword"
  64. Font-Size="X-Small" ControlToCompare="txtPassword"></asp:comparevalidator></td>
  65. </tr>
  66. <TR bgColor="#e8f4ff">
  67. <td align="right" width="20%" height="30">电子邮件:</td>
  68. <td height="30">&nbsp;<asp:textbox id="txtEmail" CssClass="InputCss" Runat="server" Columns="70" Width="382"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ErrorMessage="请填写电子邮件地址" ControlToValidate="txtEmail"
  69. Font-Size="X-Small" Display="Dynamic"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="checkmail" runat="server" ErrorMessage="错误的EMAIL格式" ControlToValidate="txtEmail"
  70. Display="Dynamic" ValidationExpression="w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*"></asp:regularexpressionvalidator></td>
  71. </TR>
  72. <tr>
  73. <td align="right" width="20%" height="30">公司电话:</td>
  74. <td height="30">&nbsp;<asp:textbox id="txtPhone" CssClass="InputCss" Runat="server" Columns="70" Width="382"></asp:textbox></td>
  75. </tr>
  76. <tr bgColor="#e8f4ff">
  77. <td align="right" width="20%" height="30">移动电话:</td>
  78. <td height="30">&nbsp;<asp:textbox id="txtMobile" CssClass="InputCss" Runat="server" Columns="70" Width="382"></asp:textbox><asp:regularexpressionvalidator id="checkmobile" runat="server" ErrorMessage="手机号错误" ControlToValidate="txtMobile"
  79. Font-Size="X-Small" ValidationExpression="d*"></asp:regularexpressionvalidator></td>
  80. </tr>
  81. <TR>
  82. <TD align="right" width="20%" height="30"><FONT face="宋体">职位级别:</FONT></TD>
  83. <TD height="30"><FONT face="宋体">&nbsp;<asp:textbox id="txtCaste" CssClass="InputCss" Runat="server" Columns="70" Width="382"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator5" runat="server" ErrorMessage="不能为空" ControlToValidate="txtCaste"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ErrorMessage="必须为数字" ControlToValidate="txtCaste"
  84. ValidationExpression="d*"></asp:regularexpressionvalidator></FONT></TD>
  85. </TR>
  86. <tr id="myposition" runat="server">
  87. <td align="right" width="20%" height="30">所属职位:</td>
  88. <td height="30"><FONT face="宋体">&nbsp;<asp:dropdownlist id="cboPosition" runat="server" Width="383px"></asp:dropdownlist></FONT></td>
  89. </tr>
  90. <TR>
  91. <TD align="right" width="20%" height="30"></TD>
  92. <TD height="30">
  93. <asp:CheckBox id="cbRemind" runat="server" Width="240px" Font-Size="X-Small" Text="站内短消息提醒(提醒公司全体员工)"
  94. Height="16px"></asp:CheckBox></TD>
  95. </TR>
  96. <TR>
  97. <TD align="center" colSpan="2" height="35"><FONT face="宋体"><asp:button id="cmdSubmit" runat="server" CssClass="redButtonCss" Width="60px" Text="确定" Height="20px"></asp:button>&nbsp;&nbsp;&nbsp;&nbsp;
  98. <INPUT class=redButtonCss style="WIDTH: 60px; HEIGHT: 20px" onclick="ReturnBack(<%=ReturnPage%>)" type=button value="返 回" name=cmdReturn>
  99. </FONT>
  100. </TD>
  101. </TR>
  102. </table>
  103. </CENTER>
  104. </form>
  105. </body>
  106. </HTML>