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

📄 resultsearch.aspx

📁 本系统实现了网上考试的目的
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ResultSearch.aspx.cs" Inherits="AdminResultSearch" %>

<!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>
        <div style="text-align: center">
            <span style="font-size: 24pt"><strong>成绩管理</strong></span><br />
            <br />
            <table style="font-size: 12pt; width: 720px; border-top-style: solid; border-right-style: solid; border-left-style: solid; border-bottom-style: solid;" id="TABLE1" language="javascript" onclick="return TABLE1_onclick()">
                <tr>
                    <td colspan="3" style="width: 688px; height: 50px; border-bottom-style: solid;">
                        &nbsp;请选择查询条件:<asp:DropDownList ID="ddlSearch" runat="server" Width="96px" AutoPostBack="True" OnSelectedIndexChanged="ddlSearch_SelectedIndexChanged" >
                            <asp:ListItem Value="UserID">考生编号</asp:ListItem>
                        </asp:DropDownList>
                        <asp:DropDownList ID="DropDownList1" runat="server" Width="96px" AutoPostBack="True" OnSelectedIndexChanged="ddlSearch_SelectedIndexChanged" >
                            <asp:ListItem Value="UserID">考生编号</asp:ListItem>
                            <asp:ListItem Value="ClassifyID">考试类型</asp:ListItem>
                        </asp:DropDownList>
                        <asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" Visible="False" >
                            <asp:ListItem Value="0">大学英语</asp:ListItem>
                            <asp:ListItem Value="1">四级</asp:ListItem>
                            <asp:ListItem Value="2">六级</asp:ListItem>
                        </asp:DropDownList>&nbsp;
                        <asp:TextBox ID="tbSearch" runat="server"></asp:TextBox>
                        <asp:ImageButton ID="imbtnSearch" runat="server" ImageUrl="~/images/btn_search_11.png" OnClick="imbtnSearch_Click" /><br />
                        <span style="font-size: 10pt">(注:如果为空则显示所有考生的成绩)</span></td>
                </tr>
                <tr>
                    <td colspan="3" style="width: 688px; height: 150px; text-align: center; border-bottom-style: solid;">
                        &nbsp;
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
                            DataKeyNames="ID" ForeColor="#333333" GridLines="None" OnPageIndexChanging="GridView1_PageIndexChanging" Width="720px" >
                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <Columns>
                                <asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True" SortExpression="ID" />
                                <asp:BoundField DataField="UserID" HeaderText="学号" SortExpression="UserID" />
                                <asp:BoundField DataField="ClassifyID" HeaderText="分类" SortExpression="ClassifyID" />
                                <asp:BoundField DataField="XZ" HeaderText="选择题成绩" SortExpression="XZ" />
                                <asp:BoundField DataField="WXTK" HeaderText="完型填空题成绩" SortExpression="WXTK" />
                                <asp:BoundField DataField="YD" HeaderText="阅读题成绩" SortExpression="YD" />
                                <asp:BoundField DataField="Result" HeaderText="总成绩" SortExpression="Result" />
                                <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="ModifyResult.aspx?ID={0}"
                                    Text="查看/修改" />
                                <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="DeleteResult.aspx?ID={0}"
                                    Text="删除" />
                            </Columns>
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <EditRowStyle BackColor="#999999" />
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
                        <asp:Label ID="lbl_noResult" runat="server" ForeColor="Red" Visible="False">没有满足要求的记录</asp:Label></td>
                </tr>
                <tr>
                    <td colspan="3" style="width: 688px; height: 30px; text-align: left;">
                        共有<asp:Label ID="lblCount" runat="server" ForeColor="Red"></asp:Label>条数据<asp:TextBox
                            ID="tbClassifyID" runat="server" Visible="False" ></asp:TextBox></td>
                </tr>
            </table>
        </div>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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