AddUserForm.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:19k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddUserForm.aspx.cs" Inherits="AddUserForm" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <html>
  4. <head>
  5.     <link href="css/main.css" type="text/css" rel="stylesheet">
  6. </head>
  7.   <script src="../Scripts/jquery-1.3.2.js" type="text/javascript"></script>
  8.   <SCRIPT language="JavaScript" src="js/calendar.js"></SCRIPT>
  9. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  10. <form runat="server" id="fm1">
  11.     <br>
  12.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  13.         border="0">
  14.         <tr>
  15.             <th colspan="3" style="height: 25px">
  16.                 以下选项由管理员设置</th>
  17.         </tr>
  18.         <tr>
  19.             <td class="usertablerow2" align="right" style="width: 153px">
  20.                 用户名:</td>
  21.             <td class="usertablerow2">
  22.                 <asp:TextBox ID="KeyValue_UserId" runat="server"></asp:TextBox>
  23.                 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="KeyValue_UserId"
  24.                     ErrorMessage="*"></asp:RequiredFieldValidator>
  25.                 <asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="KeyValue_UserId"
  26.                     EnableClientScript="False" ErrorMessage="用户有重复" OnServerValidate="CustomValidator1_ServerValidate"></asp:CustomValidator></td>
  27.      
  28.         </tr>
  29.                 <tr>
  30.             <td class="usertablerow2" align="right" style="width: 153px">
  31.                 真实姓名:</td>
  32.             <td class="usertablerow2">
  33.                 <asp:TextBox ID="KeyValue_UserName" runat="server"></asp:TextBox></td>
  34.      
  35.         </tr>
  36.         <tr>
  37.             <td class="usertablerow1" style="height: 25px; width: 153px;" align="right">
  38.                 部门:</td>
  39.             <td class="usertablerow1" style="height: 25px">
  40.                 <asp:DropDownList ID="KeyValue_DeptId" runat="server" >
  41.                     <asp:ListItem Value="0">技术研发</asp:ListItem>
  42.                     <asp:ListItem Value="1">市场营销</asp:ListItem>
  43.                     <asp:ListItem Value="2">财务部门</asp:ListItem>
  44.                      <asp:ListItem Value="3">企划部</asp:ListItem>
  45.                 </asp:DropDownList></td>
  46.     
  47.     
  48.         </tr>
  49.         
  50.                 <tr>
  51.             <td class="usertablerow1" style="height: 25px; width: 153px;" align="right">
  52.                 角色:</td>
  53.             <td class="usertablerow1" style="height: 25px">
  54.                 <asp:DropDownList ID="KeyValue_PrivId" runat="server" >
  55.                     <asp:ListItem Value="0">市场经理</asp:ListItem>
  56.                     <asp:ListItem Value="1">市场专员</asp:ListItem>
  57.                 </asp:DropDownList></td>
  58.     
  59.         </tr>
  60.                 <tr>
  61.             <td class="usertablerow2" align="right" style="width: 153px; height: 26px;">
  62.                 用户排序号:</td>
  63.             <td class="usertablerow2" style="height: 26px">
  64.                 <asp:TextBox ID="KeyValue_UserNo" runat="server"></asp:TextBox>
  65.                 <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="KeyValue_UserNo"
  66.                     ErrorMessage="必须为数字" ValidationExpression="^[+-]?d*$"></asp:RegularExpressionValidator></td>
  67.      
  68.         </tr>
  69.     </table>
  70.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  71.         border="0">
  72.         <tr>
  73.             <th colspan="3" style="height: 25px">
  74.                 用户权限信息</th>
  75.         </tr>
  76.       
  77.         <tr>
  78.             <td class="usertablerow1" style="height: 25px; width: 155px;" align="right">
  79.                 管理范围:</td>
  80.             <td class="usertablerow1" style="height: 25px">
  81.                 <asp:DropDownList ID="KeyValue_PostPriv" runat="server" >
  82.                     <asp:ListItem Value="0">技术研发</asp:ListItem>
  83.                     <asp:ListItem Value="1">市场</asp:ListItem>
  84.                 </asp:DropDownList></td>
  85.         </tr>
  86.             <tr>
  87.             <td class="usertablerow2" align="right" style="width: 155px">
  88.                 访问控制:</td>
  89.             <td class="usertablerow2">
  90.                 &nbsp;<asp:CheckBox ID="KeyValue_Disabled" runat="server" Text="禁止登录OA系统" />
  91.                 <asp:CheckBox ID="KeyValue_UsingKey" runat="server" Text="使用USB认证锁登录" />
  92.                 <asp:CheckBox ID="KeyValue_NotUser" runat="server" Text="禁止查看用户列表" />
  93.                 <asp:CheckBox ID="KeyValue_NotTable" runat="server" Text="禁止显示桌面" /></td>
  94.         </tr>
  95.         <tr>
  96.             <td class="usertablerow1" style="height: 25px; width: 155px;" align="right">
  97.                 考勤排班类型:</td>
  98.             <td class="usertablerow1" style="height: 25px">
  99.                 <asp:DropDownList ID="DropDownList4" runat="server" >
  100.                     <asp:ListItem Value="0">市场经理</asp:ListItem>
  101.                     <asp:ListItem Value="1">市场专员</asp:ListItem>
  102.                 </asp:DropDownList></td>
  103.         </tr>
  104.     <tr>
  105.             <td class="usertablerow2" align="right" style="width: 155px">
  106.                 内部邮箱容量:</td>
  107.             <td class="usertablerow2">
  108.                 <asp:TextBox ID="TextBox4" runat="server">0</asp:TextBox>
  109.                 <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox4"
  110.                     ErrorMessage="必须为数字" ValidationExpression="^[+-]?d*$"></asp:RegularExpressionValidator></td>
  111.         </tr>
  112.         <tr>
  113.             <td class="usertablerow2" align="right" style="width: 155px">
  114.                 我的文件柜容量:</td>
  115.             <td class="usertablerow2">
  116.                 <asp:TextBox ID="TextBox5" runat="server">0</asp:TextBox>
  117.                 <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBox5"
  118.                     ErrorMessage="必须为数字" ValidationExpression="^[+-]?d*$"></asp:RegularExpressionValidator></td>
  119.         </tr>
  120.           <tr>
  121.             <td class="usertablerow2" align="right" style="width: 155px; height: 27px;">
  122.                 InterNet邮箱数量:</td>
  123.             <td class="usertablerow2" style="height: 27px">
  124.                 <asp:TextBox ID="TextBox6" runat="server">0</asp:TextBox>
  125.                 <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="TextBox6"
  126.                     ErrorMessage="必须为数字" ValidationExpression="^[+-]?d*$"></asp:RegularExpressionValidator></td>
  127.         </tr>
  128.         <tr>
  129.             <td class="usertablerow2" align="right" style="width: 155px; height: 26px;">
  130.                 每个InterNet邮箱容量:</td>
  131.             <td class="usertablerow2" style="height: 26px">
  132.                 <asp:TextBox ID="TextBox7" runat="server">0</asp:TextBox>
  133.                 <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="TextBox7"
  134.                     ErrorMessage="必须为数字" ValidationExpression="^[+-]?d*$"></asp:RegularExpressionValidator></td>
  135.         </tr>
  136.              <tr>
  137.             <td class="usertablerow2" align="right" style="width: 155px">
  138.                 绑定IP限制:</td>
  139.             <td class="usertablerow2">
  140.                 <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox></td>
  141.         </tr>
  142.     </table>
  143.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  144.         border="0">
  145.         <tr>
  146.             <th colspan="3" style="height: 25px">
  147.                 用户可自定义选项</th>
  148.         </tr>
  149.         <tr>
  150.             <td class="usertablerow2" align="right" style="width: 159px">
  151.                 别名:</td>
  152.             <td class="usertablerow2">
  153.                 <asp:TextBox ID="KeyValue_UserId2" runat="server"></asp:TextBox></td>
  154.         </tr>
  155.         <tr>
  156.             <td class="usertablerow2" align="right" style="width: 159px">
  157.                 密码:</td>
  158.             <td class="usertablerow2">
  159.                 <asp:TextBox ID="KeyValue_Password" runat="server" TextMode="Password"></asp:TextBox>
  160.                 <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="KeyValue_Password"
  161.                     ErrorMessage="*"></asp:RequiredFieldValidator></td>
  162.         </tr>
  163.                <tr>
  164.             <td class="usertablerow2" align="right" style="width: 159px">
  165.                 密码确认:</td>
  166.             <td class="usertablerow2">
  167.                 <asp:TextBox ID="KeyValue_Password1" runat="server" TextMode="Password"></asp:TextBox>
  168.                 <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="KeyValue_Password"
  169.                     ControlToValidate="KeyValue_Password1" ErrorMessage="密码确认错误"></asp:CompareValidator></td>
  170.         </tr>
  171.         <tr>
  172.             <td class="usertablerow1" style="height: 25px; width: 159px;" align="right">
  173.                 性别:</td>
  174.             <td class="usertablerow1" style="height: 25px">
  175.                 <asp:DropDownList ID="KeyValue_Sex" runat="server" >
  176.                     <asp:ListItem Value="0">男</asp:ListItem>
  177.                     <asp:ListItem Value="1">女</asp:ListItem>
  178.                 </asp:DropDownList></td>
  179.         </tr>
  180.         <tr>
  181.             <td class="usertablerow1" style="height: 25px; width: 159px;" align="right">
  182.                 生日:</td>
  183.             <td class="usertablerow1" style="height: 25px">
  184.         <asp:DropDownList ID="DropDownList6" runat="server"  >
  185.         <asp:ListItem  value="1901">1901</asp:ListItem>
  186. <asp:ListItem  value="1902">1902</asp:ListItem>
  187. <asp:ListItem  value="1903">1903</asp:ListItem>
  188. <asp:ListItem  value="1904">1904</asp:ListItem>
  189. <asp:ListItem  value="1905">1905</asp:ListItem>
  190. <asp:ListItem  value="1906">1906</asp:ListItem>
  191. <asp:ListItem  value="1907">1907</asp:ListItem>
  192. <asp:ListItem  value="1908">1908</asp:ListItem>
  193. <asp:ListItem  value="1909">1909</asp:ListItem>
  194. <asp:ListItem  value="1910">1910</asp:ListItem>
  195. <asp:ListItem  value="1911">1911</asp:ListItem>
  196. <asp:ListItem  value="1912">1912</asp:ListItem>
  197. <asp:ListItem  value="1913">1913</asp:ListItem>
  198. <asp:ListItem  value="1914">1914</asp:ListItem>
  199. <asp:ListItem  value="1915">1915</asp:ListItem>
  200. <asp:ListItem  value="1916">1916</asp:ListItem>
  201. <asp:ListItem  value="1917">1917</asp:ListItem>
  202. <asp:ListItem  value="1918">1918</asp:ListItem>
  203. <asp:ListItem  value="1919">1919</asp:ListItem>
  204. <asp:ListItem  value="1920">1920</asp:ListItem>
  205. <asp:ListItem  value="1921">1921</asp:ListItem>
  206. <asp:ListItem  value="1922">1922</asp:ListItem>
  207. <asp:ListItem  value="1923">1923</asp:ListItem>
  208. <asp:ListItem  value="1924">1924</asp:ListItem>
  209. <asp:ListItem  value="1925">1925</asp:ListItem>
  210. <asp:ListItem  value="1926">1926</asp:ListItem>
  211. <asp:ListItem  value="1927">1927</asp:ListItem>
  212. <asp:ListItem  value="1928">1928</asp:ListItem>
  213. <asp:ListItem  value="1929">1929</asp:ListItem>
  214. <asp:ListItem  value="1930">1930</asp:ListItem>
  215. <asp:ListItem  value="1931">1931</asp:ListItem>
  216. <asp:ListItem  value="1932">1932</asp:ListItem>
  217. <asp:ListItem  value="1933">1933</asp:ListItem>
  218. <asp:ListItem  value="1934">1934</asp:ListItem>
  219. <asp:ListItem  value="1935">1935</asp:ListItem>
  220. <asp:ListItem  value="1936">1936</asp:ListItem>
  221. <asp:ListItem  value="1937">1937</asp:ListItem>
  222. <asp:ListItem  value="1938">1938</asp:ListItem>
  223. <asp:ListItem  value="1939">1939</asp:ListItem>
  224. <asp:ListItem  value="1940">1940</asp:ListItem>
  225. <asp:ListItem  value="1941">1941</asp:ListItem>
  226. <asp:ListItem  value="1942">1942</asp:ListItem>
  227. <asp:ListItem  value="1943">1943</asp:ListItem>
  228. <asp:ListItem  value="1944">1944</asp:ListItem>
  229. <asp:ListItem  value="1945">1945</asp:ListItem>
  230. <asp:ListItem  value="1946">1946</asp:ListItem>
  231. <asp:ListItem  value="1947">1947</asp:ListItem>
  232. <asp:ListItem  value="1948">1948</asp:ListItem>
  233. <asp:ListItem  value="1949">1949</asp:ListItem>
  234. <asp:ListItem  value="1950">1950</asp:ListItem>
  235. <asp:ListItem  value="1951">1951</asp:ListItem>
  236. <asp:ListItem  value="1952">1952</asp:ListItem>
  237. <asp:ListItem  value="1953">1953</asp:ListItem>
  238. <asp:ListItem  value="1954">1954</asp:ListItem>
  239. <asp:ListItem  value="1955">1955</asp:ListItem>
  240. <asp:ListItem  value="1956">1956</asp:ListItem>
  241. <asp:ListItem  value="1957">1957</asp:ListItem>
  242. <asp:ListItem  value="1958">1958</asp:ListItem>
  243. <asp:ListItem  value="1959">1959</asp:ListItem>
  244. <asp:ListItem  value="1960">1960</asp:ListItem>
  245. <asp:ListItem  value="1961">1961</asp:ListItem>
  246. <asp:ListItem  value="1962">1962</asp:ListItem>
  247. <asp:ListItem  value="1963">1963</asp:ListItem>
  248. <asp:ListItem  value="1964">1964</asp:ListItem>
  249. <asp:ListItem  value="1965">1965</asp:ListItem>
  250. <asp:ListItem  value="1966">1966</asp:ListItem>
  251. <asp:ListItem  value="1967">1967</asp:ListItem>
  252. <asp:ListItem  value="1968">1968</asp:ListItem>
  253. <asp:ListItem  value="1969">1969</asp:ListItem>
  254. <asp:ListItem  value="1970">1970</asp:ListItem>
  255. <asp:ListItem  value="1971">1971</asp:ListItem>
  256. <asp:ListItem  value="1972">1972</asp:ListItem>
  257. <asp:ListItem  value="1973">1973</asp:ListItem>
  258. <asp:ListItem  value="1974">1974</asp:ListItem>
  259. <asp:ListItem  value="1975">1975</asp:ListItem>
  260. <asp:ListItem  value="1976">1976</asp:ListItem>
  261. <asp:ListItem  value="1977">1977</asp:ListItem>
  262. <asp:ListItem  value="1978">1978</asp:ListItem>
  263. <asp:ListItem  value="1979">1979</asp:ListItem>
  264. <asp:ListItem  value="1980">1980</asp:ListItem>
  265. <asp:ListItem  value="1981">1981</asp:ListItem>
  266. <asp:ListItem  value="1982">1982</asp:ListItem>
  267. <asp:ListItem  value="1983">1983</asp:ListItem>
  268. <asp:ListItem  value="1984">1984</asp:ListItem>
  269. <asp:ListItem  value="1985">1985</asp:ListItem>
  270. <asp:ListItem  value="1986">1986</asp:ListItem>
  271. <asp:ListItem  value="1987">1987</asp:ListItem>
  272. <asp:ListItem  value="1988">1988</asp:ListItem>
  273. <asp:ListItem  value="1989">1989</asp:ListItem>
  274. <asp:ListItem  value="1990">1990</asp:ListItem>
  275. <asp:ListItem  value="1991">1991</asp:ListItem>
  276. <asp:ListItem  value="1992">1992</asp:ListItem>
  277. <asp:ListItem  value="1993">1993</asp:ListItem>
  278. <asp:ListItem  value="1994">1994</asp:ListItem>
  279. <asp:ListItem  value="1995">1995</asp:ListItem>
  280. <asp:ListItem  value="1996">1996</asp:ListItem>
  281. <asp:ListItem  value="1997">1997</asp:ListItem>
  282. <asp:ListItem  value="1998">1998</asp:ListItem>
  283. <asp:ListItem  value="1999">1999</asp:ListItem>
  284. <asp:ListItem  value="2000">2000</asp:ListItem>
  285. <asp:ListItem  value="2001">2001</asp:ListItem>
  286. <asp:ListItem  value="2002">2002</asp:ListItem>
  287. <asp:ListItem  value="2003">2003</asp:ListItem>
  288. <asp:ListItem  value="2004">2004</asp:ListItem>
  289. <asp:ListItem  value="2005">2005</asp:ListItem>
  290. <asp:ListItem  value="2006">2006</asp:ListItem>
  291. <asp:ListItem  value="2007">2007</asp:ListItem>
  292. <asp:ListItem  value="2008">2008</asp:ListItem>
  293. <asp:ListItem  value="2009">2009</asp:ListItem>
  294. <asp:ListItem  value="2010">2010</asp:ListItem>
  295.         </asp:DropDownList>年
  296.                 <asp:DropDownList ID="DropDownList7" runat="server"  >
  297.                     <asp:ListItem Value="1">01</asp:ListItem>
  298.                     <asp:ListItem Value="2">02</asp:ListItem>
  299.                        <asp:ListItem Value="3">03</asp:ListItem>
  300.                           <asp:ListItem Value="4">04</asp:ListItem>
  301.                              <asp:ListItem Value="5">05</asp:ListItem>
  302.                                 <asp:ListItem Value="6">06</asp:ListItem>
  303.                                    <asp:ListItem Value="7">07</asp:ListItem>
  304.                                       <asp:ListItem Value="8">08</asp:ListItem>
  305.                                          <asp:ListItem Value="9">09</asp:ListItem>
  306.                                             <asp:ListItem Value="10">10</asp:ListItem>
  307.                                                <asp:ListItem Value="11">11</asp:ListItem>
  308.                                             <asp:ListItem Value="12">12</asp:ListItem>
  309.                 </asp:DropDownList>月
  310.                  <asp:DropDownList ID="DropDownList8" runat="server"  >
  311. <asp:ListItem Value="1">01</asp:ListItem>
  312. <asp:ListItem Value="2">02</asp:ListItem>
  313. <asp:ListItem Value="3">03</asp:ListItem>
  314. <asp:ListItem Value="4">04</asp:ListItem>
  315. <asp:ListItem Value="5">05</asp:ListItem>
  316. <asp:ListItem Value="6">06</asp:ListItem>
  317. <asp:ListItem Value="7">07</asp:ListItem>
  318. <asp:ListItem Value="8">08</asp:ListItem>
  319. <asp:ListItem Value="9">09</asp:ListItem>
  320. <asp:ListItem Value="10">10</asp:ListItem>
  321. <asp:ListItem Value="11">11</asp:ListItem>
  322. <asp:ListItem Value="13">13</asp:ListItem>
  323. <asp:ListItem Value="14">14</asp:ListItem>
  324. <asp:ListItem Value="15">15</asp:ListItem>
  325. <asp:ListItem Value="16">16</asp:ListItem>
  326. <asp:ListItem Value="17">17</asp:ListItem>
  327. <asp:ListItem Value="18">18</asp:ListItem>
  328. <asp:ListItem Value="19">19</asp:ListItem>
  329. <asp:ListItem Value="20">20</asp:ListItem>
  330. <asp:ListItem Value="21">21</asp:ListItem>
  331. <asp:ListItem Value="22">22</asp:ListItem>
  332. <asp:ListItem Value="23">23</asp:ListItem>
  333. <asp:ListItem Value="24">24</asp:ListItem>
  334. <asp:ListItem Value="25">25</asp:ListItem>
  335. <asp:ListItem Value="26">26</asp:ListItem>
  336. <asp:ListItem Value="27">27</asp:ListItem>
  337. <asp:ListItem Value="28">28</asp:ListItem>
  338. <asp:ListItem Value="29">29</asp:ListItem>
  339. <asp:ListItem Value="30">30</asp:ListItem>
  340. <asp:ListItem Value="31">31</asp:ListItem>
  341.                 </asp:DropDownList>日
  342.                 <asp:CheckBox ID="CheckBox5" runat="server" Text="生日不公开" /></td>
  343.         </tr>
  344.        <tr>
  345.             <td class="usertablerow2" align="right" style="width: 159px">
  346.                 手机:</td>
  347.             <td class="usertablerow2">
  348.                 <asp:TextBox ID="TextBox12" runat="server"></asp:TextBox>如果飞信加入成功,则返回正确验证码</td>
  349.         </tr>
  350.         <tr>
  351.             <td class="usertablerow2" align="right" style="width: 159px">
  352.                 外网邮箱地址:</td>
  353.             <td class="usertablerow2">
  354.                 <asp:TextBox ID="KeyValue_OutSieEmailTextBox" runat="server">http://domain.live.com</asp:TextBox></td>
  355.         </tr>
  356.         <tr>
  357.             <td align="center" class="usertablerow1" colspan="2">
  358.                 &nbsp;&nbsp;
  359.                 <asp:Button ID="Button1" runat="server" CssClass="ptsbutton" OnClick="Button1_Click"
  360.                     Text="添加" />
  361.                         &nbsp;&nbsp;
  362.                         <input type="Button"  Class="ptsbutton" value="返回" OnClick="window.location='AddUserForm.aspx'" /><div id="Div2">
  363.                                 </div>   </td>
  364.          
  365.         </tr>
  366.      
  367.     </table>
  368.     <br>
  369.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  370.         border="0">
  371.         <tr>
  372.             <th colspan="2">
  373.                 使用方法</th>
  374.         </tr>
  375.         <tr>
  376.             <td class="usertablerow1" align="right" width="11%">
  377.                 <strong>特殊说明</strong></td>
  378.             <td class="usertablerow1" width="89%">
  379.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  380.         </tr>
  381.     </table>
  382.     </form>
  383.     
  384. </body>
  385. </html>