Backup/XDF/Admin/LookUpStudentByName.aspx

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="LookUpStudentByName.aspx.cs" Inherits="XDF.Admin.LookUpStudentByName" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style4
        {
            width: 100%;
        }
        .style5
        {
            font-family: 隶书;
            font-size: large;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table class="style4">
        <tr>
            <td class="style5">
                学生姓名</td>
            <td>
                <asp:TextBox ID="TextBoxStuName" runat="server" 
                    style="font-family: 隶书; font-size: large" AutoPostBack="True"></asp:TextBox>
            </td>
            <td>
                <asp:Button ID="ButtonReturn" runat="server" onclick="ButtonReturn_Click" 
                    style="font-family: 隶书; font-size: large" Text="返回" />
            </td>
        </tr>
    </table>
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AutoGenerateColumns="False" CellPadding="4" DataKeyNames="StuID" 
        DataSourceID="SqlDataSource2" ForeColor="#333333" GridLines="None" 
        onrowcommand="GridView1_RowCommand" onrowdatabound="GridView1_RowDataBound" 
        style="text-align: center" Width="1300px">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="StuID" HeaderText="学号" ReadOnly="True" 
                SortExpression="StuID" />
            <asp:BoundField DataField="StuName" HeaderText="学生姓名" 
                SortExpression="StuName" />
            <asp:BoundField DataField="Sex" HeaderText="性别" SortExpression="Sex" />
            <asp:BoundField DataField="Grade" HeaderText="年级" SortExpression="Grade" />
            <asp:BoundField DataField="Email" HeaderText="邮箱" SortExpression="Email" />
            <asp:BoundField DataField="Phone" HeaderText="联系电话" SortExpression="Phone" />
            <asp:TemplateField HeaderText="更多操作">
                <ItemTemplate>
                    <asp:Button ID="ButtonMore" runat="server" 
                        CommandArgument="<% #Container.DataItemIndex %>" CommandName="More" 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" />
后面还有 13 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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