📄 addhomehold.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addhomehold.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="5"> 添加小区住户基本信息</td>
</tr>
<tr>
<td align="right" colspan="2">
选择楼宇:</td>
<td align="right" colspan="1" style="width: 123px; text-align: left">
<asp:DropDownList ID="pav" runat="server" Width="137px">
</asp:DropDownList></td>
<td align="right" colspan="2">
</td>
</tr>
<tr>
<td align="right" colspan="2">
选择单元:</td>
<td align="right" colspan="1" style="width: 123px; text-align: left">
<asp:DropDownList ID="cell" runat="server" AutoPostBack="True" OnSelectedIndexChanged="cell_SelectedIndexChanged"
Width="137px">
</asp:DropDownList></td>
<td align="right" colspan="2">
</td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 24px">
选择房间:</td>
<td align="right" colspan="1" style="width: 123px; height: 24px; text-align: left">
<asp:DropDownList ID="ddlownerID" runat="server" Width="137px">
</asp:DropDownList></td>
<td align="right" colspan="2" style="height: 24px">
</td>
</tr>
<tr>
<td colspan="2" align="right">
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtname"
ErrorMessage="*"></asp:RequiredFieldValidator>业主姓名:</td>
<td align="right" colspan="1" style="width: 123px; text-align: left">
<asp:TextBox ID="txtname" runat="server" Width="131px"></asp:TextBox></td>
<td align="right" colspan="1" style="width: 65px">
房产证号</td>
<td colspan="1">
<asp:TextBox ID="txtroomID" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtroomID"
Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 29px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txttel"
ErrorMessage="*"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator3"
runat="server" ControlToValidate="txttel" Display="Dynamic" ValidationExpression="(\(\d{3,4}\)|\d{3,4}-)?\d{7,8}">格式不正确!</asp:RegularExpressionValidator>联系电话:</td>
<td align="right" colspan="1" style="width: 123px; height: 29px">
<asp:TextBox ID="txttel" runat="server"></asp:TextBox></td>
<td align="right" colspan="1" style="height: 29px; width: 65px;">
手机:</td>
<td colspan="1" style="height: 29px">
<asp:TextBox ID="txtmobile" runat="server"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtmobile" Display="Dynamic"
ErrorMessage="*" Width="15px"></asp:RequiredFieldValidator><asp:RegularExpressionValidator
ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtmobile"
Display="Dynamic" ErrorMessage="手机号码格式不对" ValidationExpression="\d{11}"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 28px">
<asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="txtemail"
Display="Dynamic" ErrorMessage="E-mail格式不正确" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator><asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtemail" ErrorMessage="*"></asp:RequiredFieldValidator>电子邮箱:</td>
<td align="right" colspan="1" style="width: 123px; height: 28px">
<asp:TextBox ID="txtemail" runat="server"></asp:TextBox></td>
<td align="right" colspan="1" style="height: 28px; width: 65px;">
身份证:</td>
<td colspan="1" style="height: 28px">
<asp:TextBox ID="txtcardid" runat="server"></asp:TextBox><asp:RequiredFieldValidator
ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtcardid" Display="Dynamic"
ErrorMessage="*"></asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator1"
runat="server" ControlToValidate="txtcardid" ErrorMessage="身份号码格式不对" ValidationExpression="\d{17}[\d|X]|\d{15}"></asp:RegularExpressionValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 28px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtunit"
ErrorMessage="*"></asp:RequiredFieldValidator>工作单位:</td>
<td align="right" colspan="1" style="width: 123px; height: 28px">
<asp:TextBox ID="txtunit" runat="server"></asp:TextBox></td>
<td align="right" colspan="1" style="height: 28px; width: 65px;">
联系地址:</td>
<td colspan="1" style="height: 28px">
<asp:TextBox ID="txtcontact" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtcontact"
Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 28px">
</td>
<td align="right" colspan="3" style="height: 28px; text-align: left">
</td>
</tr>
<tr>
<td align="right" colspan="5" style="height: 23px; text-align: left">
以下是住户用户名和密码(<span style="color: #ff0033">默认都为身份证号</span>)</td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 23px">
用户名</td>
<td align="right" colspan="1" style="width: 123px; height: 23px">
<asp:TextBox ID="txtuid" runat="server"></asp:TextBox></td>
<td align="right" colspan="1" style="width: 65px; height: 23px">
密码:</td>
<td colspan="1" style="height: 23px">
<asp:TextBox ID="txtpwd" runat="server" TextMode="Password"></asp:TextBox></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 23px">
备注信息</td>
<td align="right" colspan="3" style="height: 23px; text-align: left">
<asp:TextBox ID="txtmemo" runat="server" Height="100px" TextMode="MultiLine" Width="290px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" colspan="2" style="height: 23px">
</td>
<td align="right" colspan="2" style="height: 23px">
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="保存数据" /></td>
<td colspan="1" style="height: 23px">
</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 + -