您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->小区物业管理系统源码>>admin/addroom.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:小区物业管理系统源码
当前文件:文件类型 SmallHouse/admin/addroom.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addroom.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="6" style="height: 22px"> 30 添加房间管理</td> 31 </tr> 32 <tr> 33 <td align="right" colspan="1" style="width: 20%; height: 26px"> 34 楼宇:</td> 35 <td align="right" colspan="1" style="width: 29%; height: 26px; text-align: left"> 36 <asp:DropDownList ID="pav" runat="server" Width="101px"> 37 </asp:DropDownList></td> 38 <td align="right" colspan="3" style="text-align: center; width: 20%; height: 26px;"> 39 单元: 40 </td> 41 <td align="right" colspan="1" style="width: 743px; height: 26px; text-align: left"> 42 <asp:DropDownList ID="cell" runat="server" Width="74px"> 43 </asp:DropDownList></td> 44 </tr> 45 <tr> 46 <td align="right" colspan="1" style="width: 20%; height: 23px"> 47 楼层:</td> 48 <td align="right" colspan="1" style="width: 29%; height: 23px; text-align: left"> 49<asp:TextBox ID="TxtFrom" runat="server" Width="33px" ValidationGroup="pav"></asp:TextBox><asp:TextBox 50 ID="TxtEnd" runat="server" Width="33px" ValidationGroup="pav"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtFrom" 51 ErrorMessage="*" ValidationGroup="pav"></asp:RequiredFieldValidator><asp:CompareValidator 52 ID="CompareValidator1" runat="server" ControlToCompare="TxtFrom" ControlToValidate="TxtEnd" 53 ErrorMessage="范围不正确" Operator="GreaterThan"></asp:CompareValidator><asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxtFrom" 54 Display="Dynamic" ErrorMessage="只能为数字" ValidationExpression="^[0-9]*[1-9][0-9]*$" 55 ValidationGroup="pav"></asp:RegularExpressionValidator><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxtEnd" 56 Display="Dynamic" ErrorMessage="*" ValidationGroup="pav"></asp:RequiredFieldValidator> 57 <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TxtEnd" 58 Display="Dynamic" ErrorMessage="请输入数字" ValidationExpression="^[0-9]*[1-9][0-9]*$" 59 ValidationGroup="pav"></asp:RegularExpressionValidator></td> 60 <td colspan="3" style="text-align: center; width: 20%;" align="right"> 61 单元房间数:</td> 62 <td align="right" colspan="1" style="width: 743px; height: 23px; text-align: left"> 63 <asp:TextBox ID="Txtcellnum" runat="server" Width="70px" ValidationGroup="pav"></asp:TextBox> 64 <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="Txtcellnum" 65 Display="Dynamic" ErrorMessage="*" ValidationGroup="pav"></asp:RequiredFieldValidator> 66 <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TxtEnd" 67 Display="Dynamic" ErrorMessage="请输入数字" ValidationExpression="^[0-9]*[1-9][0-9]*$" 68 ValidationGroup="pav"></asp:RegularExpressionValidator></td> 69 </tr> 70 <tr> 71 <td align="right" colspan="1" style="width: 20%; height: 23px"> 72 前缀:</td> 73 <td align="right" colspan="1" style="width: 29%; height: 23px; text-align: left"> 74 <asp:TextBox ID="Txtbeginstring" runat="server" Width="80px" ValidationGroup="pav"></asp:TextBox> 75 <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Txtbeginstring" 76 Display="Dynamic" ErrorMessage="*" ValidationGroup="pav"></asp:RequiredFieldValidator></td> 77 <td colspan="4" align="right" style="text-align: center;"> 78 <asp:Button ID="Button1" runat="server" Text="创建" Width="73px" OnClick="Button1_Click" ValidationGroup="pav" />&nbsp;</td> 79 </tr> 80 <tr> 81 <td align="right" colspan="6" rowspan="4" style="height: 23px" class="category"> 82 </td> 83 </tr> 84 <tr> 85 </tr> 86 <tr> 87 </tr> 88 <tr> 89 </tr> 90 <tr> 91 <td align="right" colspan="1" style="width: 20%; height: 23px"> 92 朝向:</td> 93 <td align="right" colspan="1" style="width: 29%; height: 23px; text-align: left"> 94 <asp:DropDownList ID="sunny" runat="server" Width="99px"> 95 </asp:DropDownList></td> 96 <td align="right" colspan="3" style="width: 20%; text-align: center;"> 97 房间类型: 98 &nbsp;&nbsp;</td> 99 <td align="right" colspan="1" style="width: 743px; height: 23px; text-align: left;"> 100 <asp:DropDownList ID="indoor" runat="server" Width="101px"> 101 </asp:DropDownList></td> 102 </tr> 103 <tr> 104 <td align="right" colspan="1" style="width: 20%; height: 26px"> 105 功能:</td> 106 <td align="right" colspan="1" style="width: 29%; height: 26px; text-align: left"> 107 <asp:DropDownList ID="roomuse" runat="server" Width="97px"> 108 </asp:DropDownList></td> 109 <td align="right" colspan="3" style="width: 20%; text-align: center; height: 26px;"> 110 装修标准:</td> 111 <td align="right" colspan="1" style="width: 743px; height: 26px; text-align: left"> 112 <asp:DropDownList ID="roomformat" runat="server" Width="99px"> 113 </asp:DropDownList></td> 114 </tr> 115 <tr> 116 <td align="right" colspan="1" style="width: 20%; height: 18px"> 117 建筑面积:</td> 118 <td align="right" colspan="1" style="width: 29%; height: 18px; text-align: left"> 119 <asp:TextBox ID="Txtarea" runat="server" Width="79px">0</asp:TextBox></td> 120 <td align="right" colspan="3" style="width: 20%; text-align: center; height: 18px;"> 121 使用面积:</td> 122 <td align="right" colspan="1" style="width: 743px; height: 18px; text-align: left;"> 123 <asp:TextBox ID="txtusearea" runat="server" Width="80px" ValidationGroup="update">0</asp:TextBox></td> 124 </tr> 125 <tr> 126 <td align="right" colspan="1" style="width: 20%; height: 23px"> 127 更新行:</td> 128 <td align="right" colspan="1" style="width: 29%; height: 23px; text-align: left"> 129 <asp:TextBox ID="TxtRow" runat="server" Width="80px" ValidationGroup="update"></asp:TextBox> 130 <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="TxtRow" 131 ErrorMessage="*" ValidationGroup="update"></asp:RequiredFieldValidator></td> 132 <td align="right" colspan="4" style="text-align: center"> 133 <asp:Button ID="Button2" runat="server" Text="更新" OnClick="Button2_Click" Width="83px" ValidationGroup="update" /></td> 134 </tr> 135 <tr> 136 <td align="right" colspan="6" style="height: 23px; text-align: center;"> 137 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" Height="100%" Width="547px"> 138 <Columns> 139 <asp:BoundField DataField="ID" HeaderText="编号" /> 140 <asp:BoundField DataField="sunnyName" HeaderText="朝向" /> 141 <asp:BoundField DataField="indoorName" HeaderText="房间类型" /> 142 <asp:BoundField DataField="roomFormatName" HeaderText="装修标准" /> 143 <asp:BoundField DataField="roomUseName" HeaderText="功能" /> 144 <asp:BoundField DataField="buildarea" HeaderText="房间面积" /> 145 <asp:BoundField DataField="usearea" HeaderText="使用面积" /> 146 </Columns> 147 <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" /> 148 <RowStyle BackColor="#EFF3FB" /> 149 <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> 150 <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> 151 <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> 152 <EditRowStyle BackColor="#2461BF" /> 153 <AlternatingRowStyle BackColor="White" /> 154 </asp:GridView> 155 &nbsp;</td> 156 </tr> 157 <tr> 158 <td align="right" colspan="1" style="width: 20%; height: 23px"> 159 </td> 160 <td align="right" colspan="1" style="width: 29%; height: 23px; text-align: right"> 161 <asp:Button ID="save" runat="server" OnClick="save_Click" Text="保存到数据库" /></td> 162 <td align="right" colspan="3" style="width: 20%; text-align: center"> 163 <asp:Button ID="Button4" runat="server" OnClick="Button4_Click" Text="清除表格" Width="60px" /></td> 164 <td align="right" colspan="1" style="width: 743px; height: 23px"> 165 </td> 166 </tr> 167 <tr> 168 <td align="right" colspan="6" style="height: 23px; text-align: left"> 169 <span style="color: #ff0000">操作步骤</span>:1.第一步根据要求创建房间初使用房间信息。<br /> 170 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 2.根据房间具体的要求更新房间配置。 &nbsp; 171 &nbsp;&nbsp;<br /> 172 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3.最后将更新的数据保存到数据库. &nbsp; &nbsp; 173 <br /> 174 </td> 175 </tr> 176 </tbody> 177 </table> 178 179 </TD> 180 <TD></TD></TR> 181 182 183 184 185 <TR> 186 <TD><IMG alt="" src="image/r_4.gif"></TD> 187 <TD></TD> 188 <TD><IMG alt="" 189src="image/r_3.gif"></TD></TR></TBODY></TABLE> 190 </form> 191</BODY> 192 193 194</html> 195 196
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:小区物业管理系统源码