📄 addemployee.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addemployee.aspx.cs" Inherits="admin_Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>添加物业管理人员的信息</title>
<LINK href="image/style.css" type=text/css rel=stylesheet>
</head>
<body>
<form id="form1" runat="server">
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#c4d8ed border=0>
<TBODY>
<TR>
<TD style="height: 27px"><IMG alt="" src="image/r_1.gif"></TD>
<TD width="100%" background=image/r_0.gif style="height: 5px"></TD>
<TD style="height: 27px"><IMG alt="" src="image/r_2.gif"></TD></TR>
<TR>
<TD></TD>
<TD>
<table class="toptable grid" cellspacing=1 cellpadding=1 align=center
border=1>
<tbody>
<tr>
<td class=category colspan="3"> 添加物业管理人员的信息</td>
</tr>
<tr>
<td colspan="2" style="height: 28px; width: 91px;" align="right">
<strong><span style="color: #003373; background-color: #ffffff">编号:</span></strong></td>
<td colspan="1" style="height: 28px">
<asp:TextBox ID="ID" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ID"
ErrorMessage="编号不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td colspan="2" align="right" style="width: 91px">
姓名:</td>
<td colspan="1">
<asp:TextBox ID="Name" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Name"
ErrorMessage="姓名不能为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 19px; width: 91px;">
姓别:</td>
<td colspan="1" style="height: 19px">
<asp:RadioButtonList ID="SEX" runat="server" RepeatDirection="Horizontal" Height="23px" CellPadding="2" CellSpacing="2" Width="110px">
<asp:ListItem Value="1" Selected="True">男</asp:ListItem>
<asp:ListItem Value="0">女</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 28px; width: 91px;">
职务:</td>
<td colspan="1" style="height: 28px">
<asp:TextBox ID="Job" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Job"
ErrorMessage="职务不为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="width: 91px; height: 28px">
工作安排:</td>
<td colspan="1" style="height: 28px">
<asp:TextBox ID="Arrage" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="Arrage"
ErrorMessage="工作安排不为空"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 28px; width: 91px;">
身份证号码:</td>
<td colspan="1" style="height: 28px">
<asp:TextBox ID="CardID" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="CardID"
Display="Dynamic" ErrorMessage="身份证号码不为空"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="CardID"
ErrorMessage="请输入正确的身份号码" ValidationExpression="\d{17}[\d|X]|\d{15}"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td colspan="2" align="right" style="width: 91px">
居住地址:</td>
<td colspan="1">
<asp:TextBox ID="Address" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="Address"
ErrorMessage="请输入地址" Width="60px"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 23px; width: 91px;">
联系电话:</td>
<td colspan="1" style="height: 23px">
<asp:TextBox ID="TEL" runat="server"></asp:TextBox>格式:0550-6734466<asp:RequiredFieldValidator
ID="RequiredFieldValidator7" runat="server" ControlToValidate="CardID" ErrorMessage="请输入电话号码"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TEL"
Display="Dynamic" ValidationExpression="(\(\d{3,4}\)|\d{3,4}-)?\d{7,8}">格式不正确!</asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 23px; width: 91px;">
手机号码:</td>
<td colspan="1" style="height: 23px">
<asp:TextBox ID="Mobile" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="Mobile"
Display="Dynamic" ErrorMessage="请输入手机号码"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="Mobile"
Display="Dynamic" ErrorMessage="请请输入正确手机号码" ValidationExpression="\d{11}"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 27px; width: 91px;">
照片路径:</td>
<td colspan="1" style="height: 27px">
<asp:Image ID="Image1" runat="server" Height="150px" Visible="False" Width="110px" /><br />
<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="Button3" runat="server" Text="上传" Width="68px" OnClick="Button3_Click" />
</td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 23px; width: 91px;">
</td>
<td colspan="1" style="height: 23px">
<asp:Button ID="Button1" runat="server" Text="添加" Width="60px" OnClick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="取消" Width="68px" /></td>
</tr>
</tbody>
</table>
</TD>
<TD></TD></TR>
<TR>
<TD><IMG alt="" src="image/r_4.gif"></TD>
<TD></TD>
<TD><IMG alt=""
src="image/r_3.gif"></TD></TR></TBODY></TABLE>
</form>
</BODY>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -