homeadminFeemng.aspx
(完整代码) 3KB<%@ Page Language="C#" MasterPageFile="~/homeAdmin.master" AutoEventWireup="true" CodeFile="homeadminFeemng.aspx.cs" Inherits="homeadminFeemng" Title="寝室管理员版-添加寝室费" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width:770px; height: 350px" border="1">
<tr>
<td valign="top">
<div align="center">
<asp:ScriptManager id="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<contenttemplate>
<TABLE style="WIDTH: 396px" border="1"><TBODY><TR><TD style="WIDTH: 141px; HEIGHT: 25px"><DIV align=right><DIV align=right>选择区域:</DIV></DIV></TD><TD style="WIDTH: 251px; HEIGHT: 25px" align=left><asp:DropDownList id="ddlEare" runat="server" AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="eareName" DataValueField="eareID" Width="96px">
</asp:DropDownList></TD></TR><TR><TD style="WIDTH: 141px; HEIGHT: 25px"><DIV align=right>楼栋名:</DIV></TD><TD style="WIDTH: 251px; HEIGHT: 25px" align=left>
<asp:DropDownList id="ddlFlood" runat="server" DataSourceID="SqlDataSource2"
DataTextField="floodName" DataValueField="floodID" Width="95px">
</asp:DropDownList></TD></TR><TR><TD style="WIDTH: 141px; HEIGHT: 25px" align=right>寝室号:</TD><TD style="WIDTH: 251px; HEIGHT: 25px" align=left>
<asp:TextBox id="homeHao" runat="server" Width="92px" __designer:wfdid="w33"
Height="18px"></asp:TextBox></TD></TR></TBODY></TABLE>
</contenttemplate>
</asp:UpdatePanel><table style="width: 402px" border="1">
<tr>
<td align="right" style="width: 141px; height: 25px">
月份:</td>
<td align="left" style="width: 251px; height: 25px">
<asp:DropDownList ID="ddlMonth" runat="server" Width="91px" Height="21px">
</asp:DropDownList></td>
</tr>
<tr>
<td align="right" style="width: 141px; height: 25px">
电费:</td>
<td align="left" style="width: 251px; height: 25px">
<asp:TextBox ID="elecFee" runat="server" Width="88px" Height="17px"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="width: 141px; height: 25px">
水费:</td>
<td align="left" style="width: 251px; height: 25px">
<asp:TextBox ID="waterFee" runat="server" Width="90px" Height="16px"></asp:TextBox></td>
</tr>
<tr>
<td align="center" colspan="2" style="height: 25px">
<asp:Button ID="enter" runat="server" OnClick="enter_Click" Text="确 定" />
<asp:Button ID="cancel" runat="server" OnClick="cancel_Click" Text="取 消" /></td>
</tr>
</table>
</div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:studHomeConnectionString %>"
SelectCommand="SELECT DISTINCT [eareID], [eareName] FROM [eare] ORDER BY [eareID]">
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:studHomeConnectionString %>"
SelectCommand="SELECT DISTINCT [floodID], [floodName] FROM [flood] WHERE ([eareID] = @eareID) ORDER BY [floodID]">
<SelectParameters>
<asp:ControlParameter ControlID="ddlEare" Name="eareID" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
</asp:Content>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。