⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_again.aspx

📁 该程序是写的一个学生成绩管理系统是在 2005 ASp.net 环境下开发的
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_again.aspx.cs" Inherits="admin_again" %>
<%@ Register Src="admin_head.ascx" TagName="admin_head" TagPrefix="uc1" %>

<!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 runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Panel ID="Panel1" runat="server" Height="1px" Style="z-index: 100; left: 0px;
            position: absolute; top: 10px" Width="100%" HorizontalAlign="Center"> <uc1:admin_head ID="Head1" runat="server"  />
        </asp:Panel>
        <asp:Panel ID="Panel2" runat="server" Height="50px" Style="z-index: 101; left: 0px;
            position: absolute; top: 53px" Width="100%">
            <asp:DropDownList ID="DropDownList1" runat="server" Style="z-index: 100; left: 13px;
                position: absolute; top: 13px" Width="182px" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" AutoPostBack="true">
                <asp:ListItem>请选择班级:</asp:ListItem>
            </asp:DropDownList>
            &nbsp;
            <asp:DropDownList ID="DropDownList2" runat="server" Style="z-index: 102; left: 228px;
                position: absolute; top: 13px" Width="331px">
                <asp:ListItem>请选择学生:</asp:ListItem>
            </asp:DropDownList>
            <asp:Button ID="Button1" runat="server" Style="z-index: 103; left: 581px; position: absolute;
                top: 12px" Text="补考通过" OnClick="Button1_Click" />
            <asp:Button ID="Button2" runat="server" Style="z-index: 105; left: 677px; position: absolute;
                top: 12px" Text="补考次数+1" OnClick="Button2_Click" />
        </asp:Panel>
        <asp:Panel ID="Panel3" runat="server" Height="340px" Style="z-index: 102; left: 0px;
            position: absolute; top: 102px" Width="100%" HorizontalAlign="Center">
            &nbsp;
            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                BackColor="White" BorderColor="#CC9966" BorderStyle="Double" BorderWidth="1px"
                CellPadding="4" Height="87px" HorizontalAlign="Center" Style="z-index: 100; left: 46px;
                border-top-style: solid; border-right-style: solid; border-left-style: solid;
                position: absolute; top: 7px; border-bottom-style: solid" Width="843px" 
                OnPageIndexChanging="GridView1_PageIndexChanging">
                <PagerSettings FirstPageText="" LastPageText="" Mode="NextPrevious" NextPageText="下一页"
                    PageButtonCount="2" PreviousPageText="上一页" />
                <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                <Columns>
                    <asp:BoundField DataField="学期" HeaderText="学期" ReadOnly="True" />
                    <asp:BoundField DataField="课程名称" HeaderText="课程名称" />
                    <asp:BoundField DataField="学生姓名" HeaderText="学生姓名" ReadOnly="True" />
                    <asp:BoundField DataField="原始成绩" HeaderText="原始成绩" />
                    <asp:BoundField DataField="补考成绩" HeaderText="补考成绩" ReadOnly="True" />
                    <asp:BoundField DataField="补考次数" HeaderText="补考次数" />
                </Columns>
                <RowStyle BackColor="White" ForeColor="#330099" />
                <EditRowStyle HorizontalAlign="Center" Width="2px" Wrap="False" />
                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
            </asp:GridView>
        </asp:Panel>
        <asp:Panel ID="Panel4" runat="server" Height="50px" Style="z-index: 104; left: 0px;
            position: absolute; top: 441px" Width="100%">
            <asp:Label ID="Label1" runat="server" Font-Names="华文隶书" ForeColor="Red" Style="z-index: 100;
                left: 14px; position: absolute; top: 12px" Text="数据出错更正" Width="106px"></asp:Label>
            <asp:DropDownList ID="DropDownList3" runat="server" Style="z-index: 101; left: 145px;
                position: absolute; top: 9px" Width="380px">
                <asp:ListItem>请选择学生:</asp:ListItem>
            </asp:DropDownList>
            <asp:Button ID="Button3" runat="server" Font-Names="华文隶书" ForeColor="Red" Style="z-index: 102;
                left: 773px; position: absolute; top: 10px" Text="补考没通过" Width="106px" OnClick="Button3_Click" />
            &nbsp;
            <asp:TextBox ID="TextBox2" runat="server" Style="z-index: 104; left: 686px; position: absolute;
                top: 9px" Width="63px"></asp:TextBox>
            <asp:TextBox ID="TextBox1" runat="server" Font-Names="隶书" ForeColor="Red" Style="z-index: 106;
                left: 536px; position: absolute; top: 9px" Width="131px">已补考次数更正为:</asp:TextBox>
        </asp:Panel>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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