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

📄 searchtestpaper.aspx

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

<!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">
<script language="javascript">  
             function  f1()  
             {  
                     document.all(  "div1").style.display  =  '';  
                     document.all(  "div2").style.display  =  'none';
                     document.all(  "div3").style.display  =  'none';
                     document.all(  "div4").style.display  =  'none';

             }  
             function  f2()  
             {  
                     document.all(  "div1").style.display  =  'none';  
                     document.all(  "div2").style.display  =  ''; 
                     document.all(  "div3").style.display  =  'none';
                     document.all(  "div4").style.display  =  'none';

             }
             function  f3()
             {  
                     document.all(  "div1").style.display  =  'none';  
                     document.all(  "div2").style.display  =  'none';
                     document.all(  "div3").style.display  =  '';
                     document.all(  "div4").style.display  =  'none';

                 
              }
              function f4()
              {
                     document.all(  "div1").style.display  =  'none';  
                     document.all(  "div2").style.display  =  'none';
                     document.all(  "div3").style.display  =  'none';
                     document.all(  "div4").style.display  =  '';
                  
              }

              <!-- Hide
var timerID = null
var timerRunning = false
function MakeArray(size) {
    this.length = size;
    for(var i = 1; i <= size; i++)
      {
        this[i] = "";
      }
  return this;
}
function stopclock (){
    if(timerRunning)
    clearTimeout(timerID);
    timerRunning = false
}
function showtime (){
  var now = new Date();
  var year = now.getYear();
  var month = now.getMonth() + 1;
  var date = now.getDate();
  var hours = now.getHours();
  var minutes = now.getMinutes();
  var seconds = now.getSeconds();
  var day = now.getDay();
  Day = new MakeArray(7);
  Day[0]="星期天";
  Day[1]="星期一";
  Day[2]="星期二";
  Day[3]="星期三";
  Day[4]="星期四";
  Day[5]="星期五";
  Day[6]="星期六";
  var timeValue = "";
  timeValue += year + "年";
  timeValue += ((month < 10) ? "0" : "") + month + "月";
  timeValue += date + "日  ";
  timeValue += (Day[day]) + "  ";
  timeValue += ((hours <= 12) ? hours : hours - 12);
  timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
  timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
  document.all.clock.innerText = timeValue;
  timerID = setTimeout("showtime()",1000);
  timerRunning = true
}
function startclock () {
  stopclock();
  showtime()
}

//-->
		</script>
    <title>查看考试结果</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" width="1000">
            <tr>
                <td background="images/logo.jpg" style="height: 183px" width="1000">
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="center" height="300">
                    <table align="center" bgcolor="#99ff99" border="1" bordercolor="#0066cc" width="1000">
                        <tr bgcolor="#ffff33">
                             <td valign="bottom" id="clock" style="height: 12px; width: 307px;" background="images/10.jpg"></td>
    <td valign="bottom" style="height: 12px" background="images/10.jpg">
        <p align="right">欢迎使用在线考试系统&nbsp; </td>
                        </tr>
                        <tr bgcolor="#ffff33">
                            <td bgcolor="#ffffff">
                                <font face="宋体"><a name="top"></a>考生学号:
                                    <asp:Label ID="lbl_stuId" runat="server" ForeColor="Red"></asp:Label></font></td>
                            <td style="color: #000000" bgcolor="#ffffff">
                                <font face="宋体">考生姓名:
                                    <asp:Label ID="lbl_stuName" runat="server" ForeColor="Red"></asp:Label></font></td>
                        </tr>
                        <tr bgcolor="#99ccff" style="color: #000000">
                            <td align="center" colspan="2" style="height: 61px" bgcolor="#ffffff">
                                <font face="宋体" size="30">查看《<asp:Label ID="lbl_courseName" runat="server" Font-Bold="True"
                                    ForeColor="Black" Height="46px"></asp:Label>》考试结果</font></td>
                        </tr>
                        <tr bgcolor="#ffcc33" style="font-family: Times New Roman">
                            <td style="height: 25px" bgcolor="#ffffff">
                                <font face="宋体">考试题为70道选择题,1篇完型填空,1篇阅读理解(分四页)以下是<span style="color: #0000ff; text-decoration: underline"></span>您的考试结果!</font></td>
                            <td style="height: 25px" bgcolor="#ffffff">
                                <asp:ImageButton ID="Ibtn_back" runat="server" ImageUrl="images\btn_back_1.gif" OnClick="Ibtn_back_Click1"
                                    ToolTip="返回" /></td>
                        </tr>
                        <tr style="font-family: Times New Roman">
                            <td align="center" colspan="2" style="height: 10px" bgcolor="#ffffff">
                               &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                &nbsp; &nbsp;<input name="bt1" onclick="f1()" type="button" value="第1页" />
                                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                                <input name="bt2" onclick="f2()" type="button" value="第2页" />
                                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                                <input id="bt3" onclick="f3()" type="button" value="第3页" />
                                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                                <input id="bt4" onclick="f4()" type="button" value="第4页" />
                            </td>
                        </tr>
                        <tr style="font-family: Times New Roman">
                            <td colspan="2" height="600" bgcolor="#ffffff">
                                <div id="div2" style="DISPLAY: none; text-align: left;">
										<asp:Panel id="Panel2" runat="server" style="text-align: left">
											<FONT face="宋体"></FONT>
										</asp:Panel></div>
									<div id="div1" style="text-align: left"><FONT face="宋体"></FONT>
										<asp:panel id="Panel1" runat="server">
											<FONT face="宋体">一.选择题(共70道,一题一分,共70分)</FONT>
										</asp:panel></div>
                                 
									<div id="div3" style="DISPLAY: none; text-align: left;"><FONT face="宋体"></FONT>
										<asp:panel id="Panel3" runat="server">
											<FONT face="宋体">二.完型填空(共20个题,一题一分,共20分)</FONT>
										</asp:panel>
                                        &nbsp;</div>
										<div id="div4" style="DISPLAY: none; text-align: left;">
										<asp:Panel id="Panel4" runat="server">
											<FONT face="宋体">三.阅读题(共5个题,一题二分,共10分)</FONT>
										</asp:Panel>
                                            &nbsp;</div>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="2" bgcolor="#ffffff">
                               <a href="#top">返回顶端</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<input name="bt1" onclick="f1()" type="button" value="第1页" />
                                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                                <input name="bt2" onclick="f2()" type="button" value="第2页" />
                                  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                                <input id="Button1" onclick="f3()" type="button" value="第3页" />
                                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                                <input id="Button2" onclick="f4()" type="button" value="第4页" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="200">
                    <font face="宋体"></font>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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