studFee.aspx
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="~/stud.master" AutoEventWireup="true" CodeFile="studFee.aspx.cs" Inherits="studFee" Title="学生版-水电费查询" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 756px;height: 350px" bgcolor="#99CCFF" border="1">
<tr>
<td style="height: 25px; font-family: 黑体; font-size: 15px;" align="center">
请选择要查询的月份:<asp:DropDownList ID="ddlMonth" runat="server" AutoPostBack="True" Width="98px">
</asp:DropDownList>
</td>
</tr>
<tr>
<td rowspan="2" style=" height: 325px;" align="center">
<div align="center">
水电费信息如下:<asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" Width="274px">
<ItemTemplate>
<table border="1" style="width: 261px; height: 122px;" cellpadding="0" cellspacing="1">
<tr>
<td style="width: 100px">
<div align="right">
电费:</div>
</td>
<td style="width: 160px">
<div align="center">
<asp:Label ID="Label1" runat="server" Text=' <%# Eval("elecFee") %>' ></asp:Label>元</div>
</td>
</tr>
<tr>
<td style="width: 100px">
<div align="right">
水费:</div>
</td>
<td style="width: 160px">
<div align="center">
<asp:Label ID="Label2" runat="server" Text='<%# Eval("waterFee") %>'></asp:Label>元</div>
</td>
</tr>
<tr>
<td style="width: 100px">
<div align="right">
总计:</div>
</td>
<td style="width: 160px">
<div align="center">
<asp:Label ID="Label3" runat="server" Text=' <%# Eval("numFee") %>'></asp:Label>元</div>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:studHomeConnectionString %>"
SelectCommand="SELECT [waterFee], [elecFee],[numFee] FROM [Fee] WHERE (([month] = @month) AND ([homeID] = @homeID))">
<SelectParameters>
<asp:ControlParameter ControlID="ddlMonth" Name="month" PropertyName="SelectedValue"
Type="String" />
<asp:SessionParameter Name="homeID" SessionField="homeID" Type="Int64" />
</SelectParameters>
</asp:SqlDataSource>
</div>
</td>
</tr>
</table>
</asp:Content>
后面还有 1 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。