📄 room.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="room.aspx.cs" Inherits="admin_areafacility" EnableEventValidation="false" %>
<!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>test</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="width: 7px"><IMG alt="" src="image/r_1.gif"></TD>
<TD width="100%" background=image/r_0.gif></TD>
<TD><IMG alt="" src="image/r_2.gif"></TD></TR>
<TR>
<TD style="width: 7px"></TD>
<TD>
<table class="toptable grid" cellspacing=1 cellpadding=4 align=center
border=1>
<tbody>
<tr>
<td align="left" class="category" colspan="3" style="height: 25px; width: 655px;">
小区房产管理</td>
</tr>
<tr style="color: #1a438e; background-color: #eef7fd">
<td class="category" colspan="3" style="height: 3px; width: 655px;">
</td>
</tr><TR><TD
style="HEIGHT: 1px; TEXT-ALIGN: left; width: 655px;" align=left colSpan=3>楼宇:<asp:DropDownList ID="ddlPavilion" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPavilion_SelectedIndexChanged">
</asp:DropDownList>
单元:<asp:DropDownList ID="ddlCell" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCell_SelectedIndexChanged">
</asp:DropDownList>
单元楼层:<asp:TextBox ID="txtnum" runat="server" Width="70px"></asp:TextBox>
<asp:Button ID="Button2" runat="server" Text="查询" OnClick="Button2_Click" />
<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="显示所有" />
</td>
</tr>
<tr>
<td align="left" colspan="3" style="height: 10px; text-align: left; width: 655px;">
<asp:GridView ID="GridView1" runat="server" CellPadding="4" Width="653px" AutoGenerateColumns="False" Height="141px" AllowPaging="True" DataKeyNames="Code" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" ForeColor="#333333" GridLines="None" OnPageIndexChanging="GridView1_PageIndexChanging">
<FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
<RowStyle BackColor="#EFF3FB" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:BoundField DataField="ownerID" HeaderText="单元名称" SortExpression="pavname" />
<asp:BoundField DataField="pavilion" HeaderText="楼宇" SortExpression="cellname" />
<asp:BoundField DataField="sunny" HeaderText="朝向" SortExpression="floorNum" />
<asp:BoundField DataField="roomUse" HeaderText="用途" SortExpression="Name" />
<asp:BoundField DataField="indoor" HeaderText="规格" SortExpression="tel" />
<asp:BoundField DataField="roomFormat" HeaderText="标准" SortExpression="caldID" />
<asp:BoundField DataField="buildarea" HeaderText="建筑面积" />
<asp:BoundField DataField="usearea" HeaderText="使用面积" />
<asp:BoundField DataField="state" HeaderText="是否出售">
<ItemStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:CommandField HeaderText="编辑" ShowEditButton ="True"/>
<asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
</Columns>
<PagerSettings FirstPageText="首页" LastPageText="尾页"
NextPageText="下一页" PreviousPageText="上一页" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</td>
</tr>
<tr>
<td align="left" colspan="3" style="height: 10px; text-align: center; width: 655px;">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="导出EXcel" Width="133px" /></td>
</tr>
</tbody>
</table>
</TD>
<TD></TD></TR>
<TR>
<TD style="width: 7px"><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 + -