studHomefind.aspx
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" MasterPageFile="~/stud.master" AutoEventWireup="true" CodeFile="studHomefind.aspx.cs" Inherits="homeFind" Title="学生版-寝室制度" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table style="width: 763px;height: 350px" bgcolor="#99CCFF" border="1">
<tr>
<td colspan="2" style="height: 90px" valign="top" align="center">
<asp:ScriptManager id="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<contenttemplate>
<TABLE style="WIDTH: 266px; HEIGHT: 116px" align="center" border="1">
<TBODY><TR><TD style="WIDTH: 81px; HEIGHT: 25px">
<DIV align=right>区域:</DIV></TD><TD style="HEIGHT: 25px"><DIV align=left>
<asp:DropDownList id="ddlEare" runat="server" Width="88px" AutoPostBack="True"
DataSourceID="SqlDataSource1" DataTextField="eareName" DataValueField="eareID"></asp:DropDownList></DIV></TD></TR>
<TR><TD style="WIDTH: 81px; HEIGHT: 25px"><DIV align=right>楼栋:</DIV></TD>
<TD style="HEIGHT: 25px"><DIV align=left><asp:DropDownList id="ddlFlood" runat="server" Width="88px"
AutoPostBack="True" DataSourceID="SqlDataSource2" DataTextField="floodName" DataValueField="floodID"></asp:DropDownList></DIV></TD></TR>
<TR><TD style="WIDTH: 81px; HEIGHT: 25px"><DIV align=right>寝室号:</DIV></TD><TD style="HEIGHT: 25px"><DIV align=left>
<asp:TextBox id="homeHao" runat="server" Width="84px" ></asp:TextBox></DIV></TD></TR></TBODY></TABLE>
</contenttemplate>
</asp:UpdatePanel>
<asp:Button ID="Button1" runat="server" Font-Bold="True" ForeColor="Black" Text="查 询" OnClick="btn_OK_Click" />
</td>
</tr>
<tr align ="center">
<td colspan="2" style="height: 261px" valign="top" align="center">
<asp:GridView ID="GridView1" runat="server" CellPadding="3"
GridLines="Horizontal" BackColor="White" BorderColor="#E7E7FF"
BorderWidth="1px" BorderStyle="None" Height="93px" Width="244px" >
<FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
<RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
<SelectedRowStyle BackColor="#738A9C" ForeColor="#F7F7F7" Font-Bold="True" />
<PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C"
HorizontalAlign="Right" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
<AlternatingRowStyle BackColor="#F7F7F7" />
<SortedAscendingCellStyle BackColor="#F4F4FD" />
<SortedAscendingHeaderStyle BackColor="#5A4C9D" />
<SortedDescendingCellStyle BackColor="#D8D8F0" />
<SortedDescendingHeaderStyle BackColor="#3E3277" />
</asp:GridView>
<br />
<asp:Panel ID="Panel3" runat="server" Height="50px" Width="250px">
您所查寝室的分数为:<asp:Label ID="lblfen" runat="server" Font-Bold="True" Font-Size="15px"
ForeColor="Red" Text="Label"></asp:Label></asp:Panel>
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px" Visible="False">
<asp:Label ID="Label1" runat="server" Text="对不起,你搜索的寝室不存在!" Font-Bold="True" ForeColor="Red" Height="29px" Width="210px"></asp:Label></asp:Panel>
<asp:Panel ID="Panel2" runat="server" Height="50px" Width="250px">
<asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="13px" ForeColor="Red"
Text="恭喜你,你的寝室是文明寝室!" Width="205px"></asp:Label></asp:Panel>
<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 [floodID], [floodName] FROM [flood] WHERE ([eareID] = @eareID)">
<SelectParameters>
<asp:ControlParameter ControlID="ddlEare" Name="eareID" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
后面还有 6 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。