Admin/StudentManage.aspx

(开头部分) 6KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StudentManage.aspx.cs" Inherits="Admin_StudentManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <LINK href="../css/admin.css" type="text/css" rel="stylesheet">
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
  <TR height=28>
    <TD background=../images/title_bg1.jpg>当前位置: <span lang="zh-cn">学生管理</span></TD></TR>
      <TR>
    <TD bgColor=#b1ceef height=1>
        学号:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 姓名:<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><asp:Button
            ID="Button1" runat="server" Text="查询" Height="25px" 
            onclick="Button1_Click" Width="66px" /> </TD></TR>
  <TR height=20>
    <TD background=../images/shadow_bg.jpg>
        <asp:GridView ID="dlinfo" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" 
            BorderStyle="None" BorderWidth="1px" CellPadding="3" DataKeyNames="id" 
            OnPageIndexChanging="dlinfo_PageIndexChanging" 
            OnRowDataBound="dlinfo_RowDataBound" OnRowDeleting="dlinfo_RowDeleting" 
            Width="100%">
            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#006699" CssClass="ct" Font-Bold="True" 
                ForeColor="White" />
            <Columns>
                <asp:TemplateField HeaderText="学号">
                    <ItemStyle HorizontalAlign="Left" Width="400px" />
                    <ItemTemplate>
                        <asp:Label ID="xuehao" runat="server" Text='<%# Bind("xuehao") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
               
                    <asp:TemplateField HeaderText="姓名">
                    <ItemStyle HorizontalAlign="Left" Width="400px" />
                    <ItemTemplate>
                        <asp:Label ID="xingming" runat="server" Text='<%# Bind("xingming") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="性别">
                    <ItemStyle HorizontalAlign="Left" Width="400px" />
                    <ItemTemplate>
                        <asp:Label ID="xingbie" runat="server" Text='<%# Bind("xingbie") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

                 <asp:TemplateField HeaderText="专业">
                    <ItemStyle HorizontalAlign="Left" Width="400px" />
                    <ItemTemplate>
                        <asp:Label ID="zhuanyeName" runat="server" Text='<%# Bind("zhuanyeName") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>

后面还有 63 行代码,购买后查看完整代码

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

AI 解读

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

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