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

📄 gaspaymentform.aspx

📁 小区物业管理系统源代码,密码:123456,
💻 ASPX
字号:
<%--文件名:GasPaymentForm.aspx--%>
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="GasPaymentForm.aspx.cs" Inherits="ChargeManage_GasPaymentForm" 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: 2180px; font-family: 宋体; height: 16px;
                background-color: darkseagreen">
                &nbsp;收据编号:<asp:TextBox ID="TextBox1" runat="server" Width="202px"></asp:TextBox>
                收款日期:<asp:TextBox ID="TextBox2" runat="server" Width="62px">2006-6-1</asp:TextBox>
                交款人员:<asp:TextBox ID="TextBox3" runat="server" Width="53px"></asp:TextBox><br />
                &nbsp;收款金额:<asp:TextBox ID="TextBox4" runat="server" Width="50px" BackColor="#E0E0E0" ReadOnly="True">0</asp:TextBox>
                收款形式:<asp:TextBox ID="TextBox5" runat="server" Width="65px">现金</asp:TextBox>
                收款人员:<asp:TextBox ID="TextBox6" runat="server" BackColor="#E0E0E0" ReadOnly="True"
                    Width="56px"></asp:TextBox>
                收款事由:<asp:TextBox ID="TextBox7" runat="server" Width="68px">交水电气费</asp:TextBox><br />
                &nbsp;补充说明:<asp:TextBox ID="TextBox8" runat="server" Width="234px">暂无</asp:TextBox>&nbsp;<asp:Button
                    ID="Button1" runat="server" Text="新增" Width="73px" OnClick="Button1_Click" />
                <asp:Button ID="Button2" runat="server" Text="打印" Width="73px" OnClick="Button2_Click" />
                <asp:Button ID="Button3" runat="server" Text="保存" Width="73px" OnClick="Button3_Click" /></td>
        </tr>
        <tr>
            <td align="left" style="font-size: 0.8em; width: 2180px; font-family: 宋体; height: 16px;
                background-color: lightskyblue">
                请选择需要查询水电气费的楼栋名称:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True"
                    DataSourceID="SqlDataSource1" DataTextField="楼栋名称" DataValueField="楼栋名称" Width="82px">
                </asp:DropDownList>
                业主姓名:<asp:DropDownList ID="DropDownList2" runat="server" DataSourceID="SqlDataSource2"
                    DataTextField="业主姓名" DataValueField="业主编号" Width="96px">
                </asp:DropDownList>&nbsp;<asp:Button ID="Button4" runat="server" Text="查询" Width="73px" /></td>
        </tr>
        <tr>
            <td style="width: 2180px; height: 101px; background-color: cadetblue">
                <asp:Panel ID="Panel1" runat="server" Height="150px" ScrollBars="Auto" Width="555px">
                    <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="DropDownList1" Name="楼栋名称" PropertyName="SelectedValue"
                                Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White"
                        BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1"
                        DataKeyNames="自动编号" DataSourceID="SqlDataSource3" Font-Names="宋体" Font-Size="Small"
                        GridLines="None" Width="700px" OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                        <Columns>
                            <asp:CommandField ButtonType="Button" HeaderText="选择" ShowSelectButton="True" />
                            <asp:BoundField DataField="自动编号" HeaderText="自动编号" InsertVisible="False" ReadOnly="True"
                                SortExpression="自动编号" />
                            <asp:BoundField DataField="计费年份" HeaderText="计费年份" SortExpression="计费年份" />
                            <asp:BoundField DataField="计费月份" HeaderText="计费月份" SortExpression="计费月份" />
                            <asp:BoundField DataField="费用类型" HeaderText="费用类型" SortExpression="费用类型" />
                            <asp:BoundField DataField="表编号" HeaderText="表编号" SortExpression="表编号" />
                            <asp:BoundField DataField="表底数" HeaderText="表底数" SortExpression="表底数" />
                            <asp:BoundField DataField="表止数" HeaderText="表止数" SortExpression="表止数" />
                            <asp:BoundField DataField="表用量" HeaderText="表用量" ReadOnly="True" SortExpression="表用量" />
                            <asp:BoundField DataField="计费单价" HeaderText="计费单价" SortExpression="计费单价" />
                            <asp:BoundField DataField="应交金额" HeaderText="应交金额" ReadOnly="True" SortExpression="应交金额" />
                        </Columns>
                        <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:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:MyCommunityDBConnectionString %>"
                        SelectCommand="SELECT [自动编号], [计费年份], [计费月份], [费用类型], [表编号], [表底数], [表止数], [表用量], [计费单价], [应交金额] FROM [水电气费] WHERE ([业主编号] = @业主编号) AND (费用状态='未交费')">
                        <SelectParameters>
                            <asp:ControlParameter ControlID="DropDownList2" Name="业主编号" PropertyName="SelectedValue"
                                Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td style="font-size: 10pt; width: 2180px; height: 20px; background-color: gainsboro">
                费用明细构成:</td>
        </tr>
        <tr>
            <td style="width: 2180px; height: 50px; background-color: lightsteelblue">
                <asp:Panel ID="Panel2" runat="server" Height="150px" ScrollBars="Auto" Width="555px">
                    <asp:GridView ID="GridView2" runat="server" BackColor="White" BorderColor="White"
                        BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" Font-Names="宋体"
                        Font-Size="Small" GridLines="None">
                        <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 + -