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

📄 info_sturesult.aspx

📁 书本的源代码。可以用的在线考试系统。在vs平台上测试成功
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Info_StuResult.aspx.cs" Inherits="QianUser_Info_StuResult" %>

<!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 style="text-align: center">
    <form id="form1" runat="server">
        <br />
        <table style="width: 800px; height: 533px; background-image: url(../igm/前台.jpg);">
            <tr>
                <td align="center" colspan="1" style="width: 11px; height: 44px">
                </td>
                <td align="center" colspan="2" style="height: 44px; width: 223px;">
                    &nbsp;</td>
                <td align="center" colspan="1" style="width: 179px; height: 44px">
                </td>
                <td align="center" colspan="1" style="height: 44px">
                </td>
                <td align="center" colspan="1" style="width: 2px; height: 44px">
                </td>
                <td align="center" colspan="1" style="height: 44px">
                </td>
            </tr>
            <tr>
                <td align="center" colspan="1" style="width: 11px; height: 111px">
                </td>
                <td align="center" colspan="2" style="width: 223px; height: 111px">
                </td>
                <td align="center" colspan="1" style="width: 179px; height: 111px">
                </td>
                <td align="left" colspan="1" style="vertical-align: top; height: 111px">
                    <table id="TABLE1" onclick="return TABLE1_onclick()">
                        <tr>
                            <td align="center" style="vertical-align: middle; width: 91px; height: 94px; text-align: center">
                                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/igm/按钮1.jpg" OnClick="ImageButton1_Click" /></td>
                            <td align="center" style="vertical-align: middle; width: 89px; height: 94px; text-align: center">
                                &nbsp;<asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/igm/按钮2.jpg"
                                    OnClick="ImageButton2_Click" /></td>
                            <td align="center" style="vertical-align: middle; width: 84px; height: 94px; text-align: center">
                                &nbsp;<asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/igm/按钮3.jpg"
                                    OnClick="ImageButton3_Click" /></td>
                        </tr>
                    </table>
                </td>
                <td align="center" colspan="1" style="width: 2px; height: 111px">
                </td>
                <td align="center" colspan="1" style="height: 111px">
                </td>
            </tr>
            <tr>
                <td align="center" colspan="1" style="width: 11px; height: 36px">
                </td>
                <td align="center" colspan="6" style="vertical-align: top; height: 36px; text-align: center">
                    <table>
                        <tr>
                            <td style="width: 100px">
                                <asp:Label ID="Label2" runat="server" Text="查询条件:" Font-Size="9pt"></asp:Label></td>
                            <td style="width: 100px">
                                <asp:DropDownList ID="ddlStuID" runat="server" Width="121px" Font-Size="9pt">
                                    <asp:ListItem Value="ID">学生证号</asp:ListItem>
                                    <asp:ListItem Value="Name">考试课程</asp:ListItem>
                                    <asp:ListItem Value="Expr1">套题名称</asp:ListItem>
                                    <asp:ListItem Value="res_single">单选成绩</asp:ListItem>
                                    <asp:ListItem Value="res_more">多选成绩</asp:ListItem>
                                    <asp:ListItem Value="res_total">总成绩</asp:ListItem>
                                </asp:DropDownList></td>
                            <td style="width: 100px">
                                <asp:Label ID="Label3" runat="server" Text="关键字:" Font-Size="9pt"></asp:Label></td>
                            <td style="width: 106px">
                                <asp:TextBox ID="txtSelect" runat="server" Width="102px" Font-Size="9pt"></asp:TextBox></td>
                            <td style="width: 100px">
                                <asp:Button ID="btnSelect" runat="server" OnClick="BtnSelect_Click" Text="查询" Font-Size="9pt" /></td>
                        </tr>
                    </table>
                    <asp:GridView ID="gvExamResu" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                        OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="5" Width="662px" Font-Size="9pt" OnRowDataBound="GridView1_RowDataBound" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Horizontal">
                        <Columns>
                            <asp:BoundField DataField="ID" HeaderText="学生证号" />
                            <asp:BoundField DataField="Name" HeaderText="考试课程" />
                            <asp:BoundField DataField="Expr1" HeaderText="套题名称" />
                            <asp:BoundField DataField="res_single" HeaderText="单选成绩" />
                            <asp:BoundField DataField="res_more" HeaderText="多选成绩" />
                            <asp:BoundField DataField="res_total" HeaderText="总成绩" />
                            <asp:BoundField DataField="res_subdate" HeaderText="考试时间" />
                        </Columns>
                        <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
                        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
                    </asp:GridView>
                    &nbsp;</td>
            </tr>
            <tr style="color: #000000">
                <td colspan="1" rowspan="1" style="width: 11px; height: 16px">
                </td>
                <td colspan="2" rowspan="1" style="width: 223px; height: 16px">
                </td>
                <td colspan="1" rowspan="1" style="width: 179px; height: 16px">
                </td>
                <td colspan="1" rowspan="1" style="height: 16px">
                </td>
                <td colspan="1" rowspan="1" style="width: 2px; height: 16px">
                </td>
                <td colspan="1" rowspan="1" style="height: 16px">
                </td>
            </tr>
            <tr style="color: #000000">
                <td colspan="1" rowspan="2" style="width: 11px">
                </td>
                <td colspan="2" rowspan="2" style="width: 223px">
                    &nbsp;</td>
                <td colspan="1" rowspan="2" style="width: 179px">
                </td>
                <td colspan="1" rowspan="2">
                </td>
                <td colspan="1" rowspan="2" style="width: 2px">
                </td>
                <td colspan="1" rowspan="2">
                </td>
            </tr>
            <tr>
            </tr>
        </table>
        <br />
    </form>
</body>
</html>

⌨️ 快捷键说明

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