Backup/XDF/Admin/RoomManage.aspx

(完整代码) 2KB

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="RoomManage.aspx.cs" Inherits="XDF.Admin.RoomManage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" CellPadding="4" DataKeyNames="RoomID" 
            DataSourceID="SqlDataSource2" ForeColor="#333333" GridLines="None" 
            Width="1300px" onrowcommand="GridView1_RowCommand" 
            style="text-align: center" onrowdatabound="GridView1_RowDataBound">
            <AlternatingRowStyle BackColor="White" />
            <Columns>
                <asp:BoundField DataField="RoomID" HeaderText="教室编号" ReadOnly="True" 
                    SortExpression="RoomID" />
                <asp:BoundField DataField="BaseID" HeaderText="教育点编号" SortExpression="BaseID" />
                <asp:BoundField DataField="Capacity" HeaderText="容量" 
                    SortExpression="Capacity" />
                <asp:BoundField DataField="InsDateTime" HeaderText="录入时间" 
                    SortExpression="InsDateTime" />
                <asp:BoundField DataField="Address" HeaderText="具体位置" 
                    SortExpression="Address" />
                <asp:BoundField DataField="Type" HeaderText="种类" SortExpression="Type" />
                <asp:TemplateField HeaderText="详细信息">
                    <ItemTemplate>
                        <asp:Button ID="ButtonInfo" runat="server" 
                            CommandArgument="<% #Container.DataItemIndex %>" CommandName="RoomInfo" 
                            Text="详细信息" />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:XDF %>" 
            SelectCommand="SELECT * FROM [Room] WHERE ([BaseID] = LEFT(@UserID,4))">
            <SelectParameters>
                <asp:SessionParameter Name="UserID" SessionField="UserID" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
</asp:Content>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。