温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:小区物业管理系统源码
当前文件:
SmallHouse/admin/addhomepark.aspx,打开代码结构图
SmallHouse/admin/addhomepark.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addhomepark.aspx.cs" Inherits="addpavilion" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 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>test</title> 10
11
<script language="JavaScript"> 12
<!--#INCLUDE VIRTUAL="Calendar.js"--> 13
</script> 14
15
<LINK href="image/style.css" type=text/css rel=stylesheet> 16
</head> 17
<body> 18
<form id="form1" runat="server"> 19
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#c4d8ed border=0> 20
<TBODY> 21
<TR> 22
<TD><IMG alt="" src="image/r_1.gif"></TD> 23
<TD width="100%" background=image/r_0.gif></TD> 24
<TD><IMG alt="" src="image/r_2.gif"></TD></TR> 25
26
<TR> 27
<TD></TD> 28
<TD> 29
30
31
<table class="toptable grid" cellspacing=1 cellpadding=1 align=center 32
border=1> 33
<tbody> 34
<tr> 35
<td class=category colspan="3" style="height: 23px"> 添加住户停车车位</td> 36
</tr> 37
<tr> 38
<td colspan="2" style="width: 17%; height: 26px;" align="right"> 39
<strong><span style="color: #003373; background-color: #ffffff">停车场名称:</span></strong></td> 40
<td colspan="1" style="height: 26px"> 41
<asp:DropDownList ID="parkname" runat="server" Width="122px"> 42
</asp:DropDownList></td> 43
</tr> 44
<tr> 45
<td align="right" colspan="2" style="width: 17%; height: 24px;"> 46
楼宇名称:</td> 47
<td colspan="1" style="height: 24px"> 48
<asp:DropDownList ID="pav" runat="server" Width="122px"> 49
</asp:DropDownList></td> 50
</tr> 51
<tr> 52
<td align="right" colspan="2" style="width: 17%; height: 13px;"> 53
单元号:</td> 54
<td colspan="1" style="height: 13px"> 55
<asp:DropDownList ID="cell" runat="server" Width="121px" AutoPostBack="True" OnSelectedIndexChanged="cell_SelectedIndexChanged"> 56
</asp:DropDownList></td> 57
</tr> 58
<tr> 59
<td align="right" colspan="2" style="width: 17%; height: 13px"> 60
单元名称:</td> 61
<td colspan="1" style="height: 13px"> 62
<asp:DropDownList ID="ddlownerID" runat="server" Width="120px"> 63
</asp:DropDownList></td> 64
</tr> 65
66
<tr> 67
<td align="right" colspan="2" style="width: 17%; height: 9px"> 68
停车位:</td> 69
<td colspan="1" style="height: 9px"> 70
<asp:TextBox ID="txtcarplace" runat="server"></asp:TextBox> 71
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtcarplace" 72
ErrorMessage="请输入车位号"></asp:RequiredFieldValidator></td> 73
</tr> 74
75
<tr> 76
<td align="right" colspan="2" style="width: 17%; height: 9px"> 77
车牌号码:</td> 78
<td colspan="1" style="height: 9px"> 79
<asp:TextBox ID="txtcarcode" runat="server"></asp:TextBox> 80
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtcarcode" 81
ErrorMessage="请输入车牌号"></asp:RequiredFieldValidator></td> 82
</tr> 83
<tr> 84
<td align="right" colspan="2" style="width: 17%; height: 9px"> 85
车型号:</td> 86
<td colspan="1" style="height: 9px"> 87
<asp:TextBox ID="txttype" runat="server"></asp:TextBox></td> 88
</tr> 89
<tr> 90
<td align="right" colspan="2" style="width: 17%; height: 9px"> 91
购买日期:</td> 92
<td colspan="1" style="height: 9px"> 93
<asp:TextBox ID="txtbuydate" runat="server" onfocus="new Calendar().show(this);"></asp:TextBox> 94
<asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="txtbuydate" 95
Display="Dynamic" ErrorMessage="请输入正确的日期格式" Operator="DataTypeCheck" SetFocusOnError="True" 96
Type="Date" ValueToCompare="2008-3-15"></asp:CompareValidator></td> 97
</tr> 98
<tr> 99
<td align="right" colspan="2" style="width: 17%; height: 9px"> 100
颜色:</td> 101
<td colspan="1" style="height: 9px"> 102
<asp:TextBox ID="txtcolor" runat="server"></asp:TextBox></td> 103
</tr> 104
<tr> 105
<td align="right" colspan="3" style="height: 9px; text-align: left;"> 106
107
108
<asp:Button ID="Button1" runat="server" Text="添加" Width="61px" OnClick="Button1_Click" /> 109
<asp:Button ID="Button2" runat="server" Text="取消" Width="61px" /> 110
</td> 111
</tr> 112
</tbody> 113
</table> 114
115
</TD> 116
<TD></TD></TR> 117
118
119
120
121
<TR> 122
<TD><IMG alt="" src="image/r_4.gif"></TD> 123
<TD></TD> 124
<TD><IMG alt="" 125
src="image/r_3.gif"></TD></TR></TBODY></TABLE> 126
</form> 127
</BODY> 128
129
130
</html> 131
132



