NewStaff.aspx
上传用户:cha0314
上传日期:2014-03-02
资源大小:12522k
文件大小:6k
源码类别:

C#编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="NewStaff.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.Department.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. </HEAD>
  15. <body>
  16. <form id="NewStaff" method="post" runat="server">
  17. <TABLE class="gbtext" id="Table1" cellSpacing="0" cellPadding="0" width="590" border="0">
  18. <TR>
  19. <TD align="middle" width="90" background="../../images/maillistbutton2.gif" height="24"><FONT face="宋体">员工注册</FONT></TD>
  20. <TD align="right" width=500><asp:literal id="message" runat="server" EnableViewState="False"></asp:literal>
  21. </TD>
  22. </TR>
  23. </TABLE>
  24. <CENTER>
  25. <table id="AutoNumber1" cellSpacing="0" cellPadding="0" width="100%" border="1" runat="server" class="gbtext" style="BORDER-COLLAPSE: collapse" bordercolor="#93bee2">
  26. <tr bgcolor="#e8f4ff">
  27. <td align="right" width="20%" height="34" style="HEIGHT: 34px">用户姓名:</td>
  28. <td height="34" style="HEIGHT: 34px">&nbsp;<asp:textbox id="txtStaffName" Width="382" Columns="70" Runat="server" CssClass="InputCss"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" Font-Size="X-Small" ControlToValidate="txtStaffName" ErrorMessage="请输入姓名"></asp:requiredfieldvalidator></td>
  29. </tr>
  30. <tr>
  31. <td align="right" width="20%" height="30">真实姓名:</td>
  32. <td height="30">&nbsp;<asp:textbox id="txtRealName" Width="382" Columns="70" Runat="server" CssClass="InputCss"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" Font-Size="X-Small" ControlToValidate="txtRealName" ErrorMessage="请输入真实姓名"></asp:requiredfieldvalidator></td>
  33. </tr>
  34. <tr bgcolor="#e8f4ff">
  35. <td align="right" width="20%" height="30">性别:</td>
  36. <td height="30">&nbsp;<asp:radiobutton id="rb_male" Runat="server" Text="男" Checked="True" GroupName="rSex"></asp:radiobutton><asp:radiobutton id="rb_female" Runat="server" Text="女" Checked="False" GroupName="rSex"></asp:radiobutton></td>
  37. </tr>
  38. <tr>
  39. <td align="right" width="20%" height="30">出生日期:</td>
  40. <td height="30">&nbsp;<asp:textbox id="txtBirthday" onfocus="setday(this)" Width="383" Columns="70" Runat="server" CssClass="InputCss" ReadOnly="True"></asp:textbox></td>
  41. </tr>
  42. <tr bgcolor="#e8f4ff">
  43. <td align="right" width="20%" height="30">密码:</td>
  44. <td height="30">&nbsp;<asp:textbox id="txtPassword" runat="server" Width="383px" CssClass="InputCss" TextMode="Password"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator4" runat="server" Font-Size="X-Small" ControlToValidate="txtPassword" ErrorMessage="密码不能为空"></asp:requiredfieldvalidator></td>
  45. </tr>
  46. <tr>
  47. <td align="right" width="20%" height="30">重复密码:</td>
  48. <td height="30">&nbsp;<asp:textbox id="txtRePassword" runat="server" Width="382px" CssClass="InputCss" TextMode="Password"></asp:textbox><asp:comparevalidator id="CompareValidator1" runat="server" Font-Size="X-Small" ControlToValidate="txtRePassword" ErrorMessage="密码确认错误" ControlToCompare="txtPassword"></asp:comparevalidator></td>
  49. </tr>
  50. <TR bgcolor="#e8f4ff">
  51. <td align="right" width="20%" height="30">电子邮件:</td>
  52. <td height="30">&nbsp;<asp:textbox id="txtEmail" Width="382" Columns="70" Runat="server" CssClass="InputCss"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" Font-Size="X-Small" ControlToValidate="txtEmail" ErrorMessage="请填写电子邮件地址" Display="Dynamic"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="checkmail" runat="server" ControlToValidate="txtEmail" ErrorMessage="错误的EMAIL格式" ValidationExpression="w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*" Display="Dynamic"></asp:regularexpressionvalidator></td>
  53. </TR>
  54. <tr>
  55. <td align="right" width="20%" height="30">公司电话:</td>
  56. <td height="30">&nbsp;<asp:textbox id="txtPhone" Width="382" Columns="70" Runat="server" CssClass="InputCss"></asp:textbox><asp:regularexpressionvalidator id="checkphone" runat="server" Font-Size="X-Small" ControlToValidate="txtPhone" ErrorMessage="电话号码错误" ValidationExpression="d*"></asp:regularexpressionvalidator></td>
  57. </tr>
  58. <tr bgcolor="#e8f4ff">
  59. <td align="right" width="20%" height="30">移动电话:</td>
  60. <td height="30">&nbsp;<asp:textbox id="txtMobile" Width="382" Columns="70" Runat="server" CssClass="InputCss"></asp:textbox><asp:regularexpressionvalidator id="checkmobile" runat="server" Font-Size="X-Small" ControlToValidate="txtMobile" ErrorMessage="手机号错误" ValidationExpression="d*"></asp:regularexpressionvalidator></td>
  61. </tr>
  62. <tr id="mydepartment" runat="server">
  63. <td align="right" width="20%" height="30">所属部门:</td>
  64. <td height="30"><FONT face="宋体">&nbsp;<asp:dropdownlist id="cboDepartment" runat="server" Width="383px"></asp:dropdownlist></FONT></td>
  65. </tr>
  66. <TR>
  67. <TD align="middle" colspan="2" height="35"><FONT face="宋体"><asp:button id="cmdSubmit" runat="server" Width="60px" CssClass="redButtonCss" Text="确定" Height="20px"></asp:button>&nbsp;&nbsp;&nbsp;&nbsp;
  68. <INPUT class="redButtonCss" style="WIDTH: 60px; HEIGHT: 20px" onclick="history.back()" type="button" value="返 回" name="cmdReturn">
  69. </FONT>
  70. </TD>
  71. </TR>
  72. </table>
  73. </CENTER>
  74. </form>
  75. </body>
  76. </HTML>