📄 managepaymentform.aspx
字号:
<%--文件名:ManagePaymentForm.aspx--%>
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ManagePaymentForm.aspx.cs" Inherits="ChargeManage_ManagePaymentForm" 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">
收据编号:<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 />
收款金额:<asp:TextBox ID="TextBox4" runat="server" BackColor="#E0E0E0" ReadOnly="True"
Width="50px">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 />
补充说明:<asp:TextBox ID="TextBox8" runat="server" Width="234px">暂无</asp:TextBox> <asp:Button
ID="Button1" runat="server" OnClick="Button1_Click" Text="新增" Width="73px" />
<asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="打印" Width="73px" />
<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="保存" Width="73px" /></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> <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: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: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" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" Width="548px">
<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="应交金额" 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: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 + -