⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gasqueryform.aspx

📁 小区物业管理系统源代码,密码:123456,
💻 ASPX
字号:
<%--文件名:GasQueryForm.aspx--%>
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="GasQueryForm.aspx.cs" Inherits="ChargeManage_GasQueryForm" Title="当前位置:费用管理->水电气费查询" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 556px; height: 161px">
        <tr>
            <td align="left" style="font-size: 0.8em; width: 2232px; font-family: 宋体; height: 13px;
                background-color: mediumturquoise">
                &nbsp;计费年份:<asp:DropDownList ID="DropDownList1" runat="server" Width="80px">
                    <asp:ListItem>2006</asp:ListItem>
                    <asp:ListItem>2007</asp:ListItem>
                    <asp:ListItem>2008</asp:ListItem>
                    <asp:ListItem>2009</asp:ListItem>
                    <asp:ListItem>2010</asp:ListItem>
                    <asp:ListItem>2011</asp:ListItem>
                    <asp:ListItem>2012</asp:ListItem>
                    <asp:ListItem>2013</asp:ListItem>
                    <asp:ListItem>2014</asp:ListItem>
                    <asp:ListItem>2015</asp:ListItem>
                    <asp:ListItem>2016</asp:ListItem>
                    <asp:ListItem>2017</asp:ListItem>
                    <asp:ListItem>2018</asp:ListItem>
                    <asp:ListItem>2019</asp:ListItem>
                    <asp:ListItem>2020</asp:ListItem>
                </asp:DropDownList>
                计费月份:<asp:DropDownList ID="DropDownList2" runat="server" Width="80px">
                  <asp:ListItem>全年</asp:ListItem>
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>
                费用类型:<asp:DropDownList ID="DropDownList3" runat="server" Width="74px">
                    <asp:ListItem>全部</asp:ListItem>
                    <asp:ListItem>水费</asp:ListItem>
                    <asp:ListItem>电费</asp:ListItem>
                    <asp:ListItem>气费</asp:ListItem>
                </asp:DropDownList>
                <asp:Button
                    ID="Button1" runat="server" OnClick="Button1_Click" Text="查询" Width="83px" /><br />
                &nbsp;楼栋名称:<asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="SqlDataSource1"
                    DataTextField="楼栋名称" DataValueField="楼栋名称" Width="79px" AppendDataBoundItems="True" AutoPostBack="True">
                        <asp:ListItem>全部</asp:ListItem>
                    </asp:DropDownList>
                业主姓名:<asp:DropDownList ID="DropDownList5" runat="server" DataSourceID="SqlDataSource2"
                    DataTextField="业主姓名" DataValueField="业主编号" Width="81px" AppendDataBoundItems="True">
                    <asp:ListItem>全部</asp:ListItem>
                </asp:DropDownList>
                费用状态:<asp:DropDownList ID="DropDownList6" runat="server" Width="74px">
                    <asp:ListItem>全部</asp:ListItem>
                    <asp:ListItem>已交费</asp:ListItem>
                    <asp:ListItem>未交费</asp:ListItem>
                </asp:DropDownList>
                <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="打印" Width="83px" /></td>
        </tr>
        <tr>
            <td style="width: 2232px; height: 100px; background-color: gainsboro">
                <asp:Panel ID="Panel1" runat="server" Height="320px" ScrollBars="Auto" Width="553px">
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyCommunityDBConnectionString %>"
                        SelectCommand="SELECT DISTINCT * FROM [楼栋信息]"></asp:SqlDataSource>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:MyCommunityDBConnectionString %>"
                        SelectCommand="SELECT * FROM [业主信息] WHERE ([楼栋名称] = @楼栋名称)">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="DropDownList4" Name="楼栋名称" PropertyName="SelectedValue"
                                Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                    <asp:GridView ID="GridView1" runat="server" BackColor="White" BorderColor="White"
                        BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" Font-Names="宋体"
                        Font-Size="Small" GridLines="None" Width="1200px">
                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" HorizontalAlign="Center" />
                    </asp:GridView>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -