homeinfo.aspx

来自「寝室管理系统」· ASPX 代码 · 共 46 行

ASPX
46
字号
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="homeinfo.aspx.cs" Inherits="homeinfo" Title="学生寝室管理系统->寝室查询" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div align="center">
        <table border="0" style="width: 964px">
            <tr>
                <td nowrap="nowrap">
                    <div align="center" style="font-weight: bold; font-size: 15px; color: black">
                        学生寝室管理系统-&gt;寝室查询</div>
                </td>
            </tr>
            <tr>
                <td nowrap="nowrap" style="height: 20px">
                    <div align="center" style="text-align: center">
                        <asp:Panel ID="Panel1" runat="server" Height="50px" Width="125px">
                            <asp:DataGrid ID="mydatagrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px"
                                CellPadding="3" ForeColor="Black" GridLines="Vertical" Height="97px" Style="font-weight: normal;
                                font-size: 14px" Width="506px" OnItemDataBound="mydatadrid1_ItemDataBound" OnPageIndexChanged="mydatadrid1_PageIndexChanged" OnSelectedIndexChanged="mydatagrid1_SelectedIndexChanged">
                                <FooterStyle BackColor="#CCCCCC" />
                                <SelectedItemStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" Mode="NumericPages" />
                                <AlternatingItemStyle BackColor="#CCCCCC" />
                                <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                                <Columns>
                                    <asp:BoundColumn DataField="homeflood" HeaderText="几栋">
                                        <HeaderStyle Width="35px" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="homesex" HeaderText="寝室类别"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="homehao" HeaderText="几号">
                                        <HeaderStyle Width="50px" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="homecount" HeaderText="几人间">
                                        <HeaderStyle Width="50px" />
                                    </asp:BoundColumn>
                                    <asp:BoundColumn DataField="homephone" HeaderText="寝室电话"></asp:BoundColumn>
                                    <asp:BoundColumn DataField="homefen" HeaderText="寝室评分"></asp:BoundColumn>
                                </Columns>
                            </asp:DataGrid></asp:Panel>
                      </div>
                    </td>
            </tr>
        </table>
    </div>
</asp:Content>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?