温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:小区物业管理系统源码
当前文件:
SmallHouse/admin/codetable.aspx,打开代码结构图
SmallHouse/admin/codetable.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="codetable.aspx.cs" Inherits="admin_Default2" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head id="Head1" runat="server"> 7
<title>添加小区周边(公区)设施</title> 8
9
<LINK href="image/style.css" type=text/css rel=stylesheet> 10
</head> 11
<body> 12
<form id="form1" runat="server"> 13
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#c4d8ed border=0> 14
<TBODY> 15
<TR> 16
<TD style="height: 27px"><IMG alt="" src="image/r_1.gif"></TD> 17
<TD width="100%" background=image/r_0.gif style="height: 5px"></TD> 18
<TD style="height: 27px"><IMG alt="" src="image/r_2.gif"></TD></TR> 19
20
<TR> 21
<TD></TD> 22
<TD> 23
24
25
<table class="toptable grid" cellspacing=1 cellpadding=1 align=center 26
border=1> 27
<tbody> 28
<tr> 29
<td class=category colspan="5"> 30
系统相关参数维护</td> 31
</tr> 32
<tr> 33
<td colspan="2" style="height: 20px; width: 110px;" align="right"> 34
<span style="color: #003373; background-color: #ffffff">请选择参数类别:</span></td> 35
<td colspan="3" style="height: 20px"> 36
<asp:DropDownList ID="para" runat="server" Width="138px" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> 37
<asp:ListItem>请选择选项</asp:ListItem> 38
</asp:DropDownList></td> 39
</tr> 40
<tr> 41
<td align="right" colspan="5" style="height: 23px; text-align: left"> 42
<asp:GridView ID="GridView1" runat="server" CellPadding="4" 43
Width="591px" AutoGenerateColumns="False" DataKeyNames="id" OnRowEditing="GridView1_RowEditing" BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" OnRowCancelingEdit="GridView1_RowCanceling" OnRowUpdating="GridView1_RowUpdating" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting"> 44
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" /> 45
<RowStyle BackColor="White" ForeColor="#003399" /> 46
<SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" /> 47
<PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" /> 48
<HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" /> 49
<Columns> 50
<asp:BoundField DataField="code" HeaderText="代码" ReadOnly="True" /> 51
<asp:BoundField DataField="name" HeaderText="名称" /> 52
<asp:BoundField HeaderText="装修标准" DataField="typename" ReadOnly="True" /> 53
<asp:CommandField ShowEditButton="True" HeaderText="编辑" /> 54
<asp:CommandField HeaderText="删除" ShowDeleteButton="True" /> 55
56
</Columns> 57
</asp:GridView> 58
<asp:Label ID="Label1" runat="server" ForeColor="Red" Text="Label" Width="170px" Visible="False"></asp:Label></td> 59
</tr> 60
<tr> 61
<td colspan="2" align="right" style="height: 23px; width: 110px; text-align: right;"> 62
代码:</td> 63
<td align="right" colspan="3" style="height: 23px; text-align: left"> 64
<asp:TextBox ID="txtcode" runat="server" ValidationGroup="add"></asp:TextBox> 65
<asp:Label ID="Label2" runat="server" ForeColor="#FF0000" Visible="False" Width="100px"></asp:Label> 66
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtcode" 67
Display="Dynamic" ErrorMessage="代码不为空!" ValidationGroup="add"></asp:RequiredFieldValidator></td> 68
</tr> 69
<tr> 70
<td align="right" colspan="2" style="width: 110px; height: 23px"> 71
名称:</td> 72
<td align="right" colspan="3" style="height: 23px; text-align: left"> 73
<asp:TextBox ID="txtname" runat="server" ValidationGroup="add"></asp:TextBox> 74
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtname" 75
ErrorMessage="名称不为空!" ValidationGroup="add"></asp:RequiredFieldValidator> 76
</td> 77
</tr> 78
<tr> 79
<td align="right" colspan="2" style="width: 110px; height: 23px"> 80
</td> 81
<td align="right" colspan="3" style="height: 23px; text-align: left"> 82
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加新选项" Width="117px" ValidationGroup="add" /></td> 83
</tr> 84
<tr> 85
<td align="right" colspan="5" style="height: 23px; text-align: left;"> 86
87
</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> 108
109



