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

📄 admin_score.aspx

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

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%@ 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" Width="100%"  Height="10px" Style="z-index: 100; 
                position: relative; top: 6px; "  HorizontalAlign="Center">    <uc1:admin_head ID="Head1" runat="server"  />
            </asp:Panel> 
        <asp:Panel ID="Panel2" runat="server" Width="48%"  Height="101px" Style="z-index: 100; 
                position: relative; top: 12px; left: 0px;"  HorizontalAlign="Center">
            <asp:Label ID="Label1" runat="server" Style="z-index: 101; left: 0px; position: relative;
                top: 0px; text-align: left;" Text="选择班级课程" Width="100%" BackColor="Maroon" BorderColor="Maroon" BorderStyle="Solid" Font-Names="华文楷体" Font-Size="16pt" ForeColor="White"></asp:Label>
            <asp:DropDownList ID="DropDownList1" runat="server" Style="z-index: 101; left: -45px;
                    position: relative; top: 6px" Width="166px" AutoPostBack="True" Height="22px" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                    <asp:ListItem Selected="True">请选择班级:</asp:ListItem>
            </asp:DropDownList> 
            <asp:TextBox ID="TextBox1" runat="server"  OnTextChanged="TextBox1_TextChanged" AutoPostBack="True" Style="z-index: 101;
                    left: -15px; position: relative; top: 6px" Width="158px" Height="15px">或者请输入班级:</asp:TextBox>             
            <asp:DropDownList ID="DropDownList2" runat="server" Style="z-index: 101; left: -30px;
                    position: relative; top: 12px" Width="367px" AutoPostBack="True" Height="22px" OnSelectedIndexChanged="DropDownList2_SelectedIndexChanged">
                    <asp:ListItem>请选择课程:</asp:ListItem>
            </asp:DropDownList>              
        </asp:Panel> 
        <asp:Panel ID="Panel3" runat="server" Width="48%"  Height="101px" Style="z-index: 100; 
                position: relative; top: -89px; left:50%;"  HorizontalAlign="Center">
            <asp:Label ID="Label2" runat="server" Style="z-index: 100; left: 0px; position: relative;
                top: 0px; text-align: left;" Text="修改学生成绩" Width="98.5%" BackColor="Maroon" BorderColor="Maroon" BorderStyle="Solid" Font-Names="华文楷体" Font-Size="16pt" ForeColor="White"></asp:Label>    
            <asp:DropDownList ID="DropDownList3" runat="server" Style="z-index: 101; left: 20px;
                position: absolute; top: 37px" Width="149px" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged" AutoPostBack="True">
                <asp:ListItem>请选择学生:</asp:ListItem>
            </asp:DropDownList>
            <asp:TextBox ID="TextBox2" runat="server" Style="z-index: 102; left: 20px; position: absolute;
                top: 67px" Width="87px" >请输入成绩</asp:TextBox>&nbsp;
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Style="z-index: 104;
                left: 133px; position: absolute; top: 66px" Text="下一个" />
        </asp:Panel>
            <asp:Panel ID="Panel4" runat="server" Width="100%"  Height="335px" Style="z-index: 100; 
                    position: relative; top: -87px; left: 0px;"  HorizontalAlign="Center"> 
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    BackColor="White" BorderColor="#CC9966" BorderStyle="Double" BorderWidth="1px"
                    CellPadding="4" Height="87px" HorizontalAlign="Center" 
                    PageSize="16" Style="z-index: 103; left: 0px; position: relative; top: 0px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;"
                    Width="843px"  >
                    <PagerSettings FirstPageText="" LastPageText="" Mode="NextPrevious" NextPageText="下一页"
                        PageButtonCount="6" PreviousPageText="上一页" Visible="False" />
                    <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                    <Columns>
                        <asp:BoundField DataField="学生姓名1" HeaderText="学生姓名" ReadOnly="True" />
                        <asp:BoundField DataField="学生成绩1" HeaderText="学生成绩" />
                        <asp:BoundField DataField="学生姓名2" HeaderText="学生姓名" ReadOnly="True" />
                        <asp:BoundField DataField="学生成绩2" HeaderText="学生成绩" />
                        <asp:BoundField DataField="学生姓名3" HeaderText="学生姓名" ReadOnly="True" />
                        <asp:BoundField DataField="学生成绩3" HeaderText="学生成绩" />
                        <asp:BoundField DataField="学生姓名4" HeaderText="学生姓名" ReadOnly="True" />
                        <asp:BoundField DataField="学生成绩4" HeaderText="学生成绩" />
                        <asp:BoundField DataField="学生姓名5" HeaderText="学生姓名" ReadOnly="True" />
                        <asp:BoundField DataField="学生成绩5" HeaderText="学生成绩" />
                    </Columns>
                    <RowStyle BackColor="White" ForeColor="#330099" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                    <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
                    <EditRowStyle HorizontalAlign="Center" Width="2px" Wrap="False" />
                </asp:GridView>   
            </asp:Panel>      
    </div>       
    </form>
</body>
</html>

⌨️ 快捷键说明

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