温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:小区物业管理系统源码
当前文件:
SmallHouse/admin/editareafac.aspx,打开代码结构图
SmallHouse/admin/editareafac.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="editareafac.aspx.cs" Inherits="admin_editareafac" ValidateRequest="false" %> 2
3
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %> 4
5
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 6
7
<html xmlns="http://www.w3.org/1999/xhtml" > 8
<head id="Head1" runat="server"> 9
<title>添加友情链接</title> 10
11
<LINK href="image/style.css" type=text/css rel=stylesheet> 12
</head> 13
<body> 14
<form id="form1" runat="server"> 15
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#c4d8ed border=0> 16
<TBODY> 17
<TR> 18
<TD style="height: 27px"><IMG alt="" src="image/r_1.gif"></TD> 19
<TD width="100%" background=image/r_0.gif style="height: 5px"></TD> 20
<TD style="height: 27px"><IMG alt="" src="image/r_2.gif"></TD></TR> 21
22
<TR> 23
<TD></TD> 24
<TD> 25
26
27
<table class="toptable grid" cellspacing=1 cellpadding=1 align=center 28
border=1> 29
<tbody> 30
<tr> 31
<td class=category colspan="3"> 编辑小区周边(公区)设施</td> 32
</tr> 33
<tr> 34
<td colspan="2" style="height: 28px; width: 82px;" align="right"> 35
<strong><span style="color: #003373; background-color: #ffffff">公区设施名称:</span></strong></td> 36
<td colspan="1" style="height: 28px"> 37
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 38
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" 39
Display="Dynamic" ErrorMessage="设施名不为空"></asp:RequiredFieldValidator></td> 40
</tr> 41
<tr> 42
<td colspan="2" align="right" style="width: 82px"> 43
主要负责人:</td> 44
<td colspan="1"> 45
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> 46
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" 47
Display="Dynamic" ErrorMessage="负责人不为空"></asp:RequiredFieldValidator></td> 48
</tr> 49
<tr> 50
<td align="right" colspan="2" style="height: 23px; width: 82px;"> 51
设施类型:</td> 52
<td colspan="1" style="height: 23px"> 53
<asp:DropDownList ID="ddl" runat="server" Width="137px"> 54
</asp:DropDownList>如选项不存在,请单击此处<span style="color: #ff0000">添加</span></td> 55
</tr> 56
<tr> 57
<td colspan="2" style="height: 28px; width: 82px;" align="right"> 58
联系人:</td> 59
<td colspan="1" style="height: 28px"> 60
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox> 61
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Display="Dynamic" 62
ErrorMessage="联系人不为空" ControlToValidate="TextBox4"></asp:RequiredFieldValidator></td> 63
</tr> 64
<tr> 65
<td align="right" colspan="2" style="height: 24px; width: 82px;"> 66
联系电话:</td> 67
<td colspan="1" style="height: 24px"> 68
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox> 69
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox5" 70
ErrorMessage="电话不能为空!" Display="Dynamic"></asp:RequiredFieldValidator> 71
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox5" 72
ValidationExpression="(\(\d{3,4}\)|\d{3,4}-)?\d{7,8}" Display="Dynamic">格式不正确!</asp:RegularExpressionValidator>格式:05506734466</td> 73
</tr> 74
<tr> 75
<td align="right" colspan="2" style="height: 114px; width: 82px;"> 76
详细说明:</td> 77
<td colspan="1" style="height: 114px"> 78
<FTB:FreeTextBox ID="FreeTextBox1" runat="server" HelperFilesPath="../HelperScript///" ButtonPath="../images/ftb/office2003/" > 79
</FTB:FreeTextBox> 80
</td> 81
</tr> 82
<tr> 83
<td align="right" colspan="2" style="height: 23px; width: 82px;"> 84
</td> 85
<td colspan="1" style="height: 23px"> 86
<asp:Button ID="Button1" runat="server" Text="修改" Width="60px" OnClick="Button1_Click" /> 87
<asp:Button ID="Button2" runat="server" Text="取消" Width="68px" /></td> 88
</tr> 89
</tbody> 90
</table> 91
92
</TD> 93
<TD></TD></TR> 94
95
96
97
98
<TR> 99
<TD><IMG alt="" src="image/r_4.gif"></TD> 100
<TD></TD> 101
<TD><IMG alt="" 102
src="image/r_3.gif"></TD></TR></TBODY></TABLE> 103
</form> 104
</BODY> 105
106
107
</html>



