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

📄 selectmark.aspx

📁 一个不错的在线考试系统!~~实现了基本的在线考试系统的主要功能
💻 ASPX
字号:
<%@ page language="C#" autoeventwireup="true" inherits="student_selectmark, App_Web_xmf1oimm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.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>
    <link href="../main.css" type="text/css" rel=stylesheet />
</head>
<body leftmargin=6px rightmargin=14px>
    <form id="selectmark" runat="server">
    <div>
      <fieldset class=fieldset style="margin-top:0px;width:95%;">
         <div style="width:100%;text-align:center">
            <table class=tb  cellspacing=0px >
                <tbody>
                    <tr>
                        <td colspan=2 style="font-weight:bolder;padding-left:25%;color:MidnightBlue;border:#5e85b1 1px solid">以下为你参加过的考试科目</td>
                    </tr>
                    <tr>
                         <td rowspan=3 width=20% style="font-size:14px;font-weight:bolder;color:Navy">查卷事项:</td>
                         <td width=80% style="color:Red;text-DECORATION:underline;font-weight:bolder;font-size:12px">1。每门课程都有现场记录</td>
                   </tr> 
                   <tr>
                        <td style="color:Red;text-DECORATION:underline;font-weight:bolder;font-size:12px">2。试卷如果有出入请与<a href="mailto:hero_518@gmail.cn">管理员</a>联系</td>
                   </tr>
                   <tr>
                        <td style="color:Red;text-DECORATION:underline;font-weight:bolder;font-size:12px">3。如有重考须告知管理员</td>
                   </tr>
                </tbody>                 
            </table> 
            <div >
                <div style="width:98%;height:14px;;margin-top:0px;text-align:left;padding-top:0px">
                        <table style="width:98%;color:White;font-size:12px;font-weight:bolder;background-color:#507CD1" cellpadding=0px cellspacing=0px>
                            <tbody>
                                <tr>
                                    <td style="width:35%;text-align:center;border:white 1px solid">试题名称</td>
                                    <td style="width:10%;text-align:center;border:white 1px solid">计时</td>
                                    <td style="width:15%;text-align:center;border:white 1px solid">失效时间</td>
                                    <td style="width:25%;text-align:center;border:white 1px solid">考试科目</td>
                                    <td style="width:15%;text-align:center;border:white 1px solid">在线查分</td>
                                </tr>
                            </tbody>
                        </table>
                </div>
                <div style="overflow-y:scroll;height:300px;width:100%;padding-left:7px;padding-left:3px;margin-left:0px">
                        <asp:GridView ID="gvw_extramselect" runat="server" AutoGenerateColumns="False" ShowHeader="False" Width=95% PageSize="100" Font-Size="11px" DataKeyNames="num" CellPadding="4" ForeColor="#333333" >
                            <Columns>
                                <asp:TemplateField >
                                    <ItemStyle Width=35% />
                                    <ItemTemplate>
                                        <%# TenString(DataBinder.Eval(Container.DataItem,"name").ToString()) %>
                                    </ItemTemplate>                                          
                                </asp:TemplateField>
                                <asp:TemplateField >
                                    <ItemStyle Width=10% />
                                    <ItemTemplate>
                                       <%# DataBinder.Eval(Container.DataItem,"time")%>分
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="endtime" DataFormatString="{0:MM/dd}" HtmlEncode="False" >
                                    <ItemStyle Width="15%" />
                                </asp:BoundField>
                                 <asp:TemplateField >
                                    <ItemStyle Width=25% />
                                    <ItemTemplate>
                                       <%# TenString(DataBinder.Eval(Container.DataItem,"coursename").ToString())%>
                                    </ItemTemplate>  
                                </asp:TemplateField>             
                                <asp:TemplateField >
                                    <ItemStyle Width=15% HorizontalAlign=center />                                        
                                    <ItemTemplate>
                                        <a onclick=" window.open('viewmypaper.aspx?id=<%=loginID%>&&paperID=<%# DataBinder.Eval(Container.DataItem,"num")%>','','height=588,width=1015,top=0,left=0,location=yes,scrollbars=yes,resizable=yes,menubar=yes,toolbar=yes,status=yes');return false" href="#">查看</a>
                                    </ItemTemplate>
                               </asp:TemplateField>
                            </Columns>
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <RowStyle BackColor="#EFF3FB" />
                            <EditRowStyle BackColor="#2461BF" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                </div>
            </div>
        </div>        
    </fieldset>      
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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