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

📄 test.aspx

📁 VB.NET和SQLSERver2000编写在线考试系统
💻 ASPX
字号:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="test.aspx.vb" Inherits="Online_Exam.test"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>test</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="JavaScript">                   
          <!--     
              javascript:window.history.forward(1);     
          //-->                   
		</script>
		<SCRIPT language="JavaScript">
<!--
 var maxtime;
function CountDown(){ 
 if(maxtime>=0){
  hours=Math.floor (maxtime/3600)
  minutes = Math.floor((maxtime%3600)/60);
  seconds = Math.floor((maxtime%3600)%60);
 document.all("Hour").value=hours;
document.all("Minute").value=minutes;
document.all("Second").value=seconds;
  if(maxtime == 4*60) alert('注意,还有5分钟!');
    --maxtime;
    }
 else{
        alert("时间到,结束!");
        clearInterval(x);
        document.getElementById('button2').click();
             
    }
}
function Fun()
{
 maxtime="<%=   session("time")   %>";   
 x = window.setInterval("CountDown()",1000);
  
}
//-->
		</SCRIPT>
	</HEAD>
	<body background="images/backgroud/b19.jpg" onload="Fun();" MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<P id="P1"><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"></FONT><FONT face="宋体"><asp:panel id="Panel4" style="Z-INDEX: 102; LEFT: 264px; POSITION: absolute; TOP: 160px" runat="server"
						Width="152px" Visible="False">三、判断题</asp:panel></FONT></P>
			<P><asp:panel id="Panel5" style="Z-INDEX: 104; LEFT: 280px; POSITION: absolute; TOP: 152px" runat="server"
					Width="136px" Visible="False"><FONT face="宋体">四、排序题</FONT></asp:panel>
				<asp:panel id="Panel3" style="Z-INDEX: 103; LEFT: 264px; POSITION: absolute; TOP: 168px" runat="server"
					Width="176px" Visible="False">
					<FONT face="宋体">二、多项选择题</FONT></asp:panel>&nbsp;<asp:panel id="Panel2" style="Z-INDEX: 101; LEFT: 264px; POSITION: absolute; TOP: 152px" runat="server"
					Width="192px"><FONT face="宋体">一、单项选择题</FONT></asp:panel>
			<P><FONT style="BACKGROUND-COLOR: #ffffff" face="宋体"><asp:panel id="Panel6" style="Z-INDEX: 105; LEFT: 0px; POSITION: absolute; TOP: 0px" runat="server"
						Width="216px" BackColor="White" Height="384px">&nbsp;<asp:panel id="Panel1" runat="server" Width="200px" Height="72px"></P>
			<P><FONT face="宋体">&nbsp; 剩余时间</FONT><FONT face="宋体"></P>
			<P>&nbsp;
				<asp:textbox id="Hour" runat="server" Width="24px" BorderStyle="None"></asp:textbox>&nbsp;
				<asp:label id="Label2" runat="server" Font-Size="Medium">:</asp:label>&nbsp;
				<asp:textbox id="Minute" runat="server" Width="32px" BorderStyle="None"></asp:textbox>&nbsp;
				<asp:label id="Label5" runat="server" Font-Size="Medium">:</asp:label>&nbsp;
				<asp:textbox id="Second" runat="server" Width="40px" BorderStyle="None"></asp:textbox></P>
			<P></FONT></asp:panel></P>
			<P>&nbsp;&nbsp;&nbsp;<asp:linkbutton id="LinkButton1" runat="server">单项选择题</asp:linkbutton></P>
			<P>&nbsp;&nbsp;&nbsp;
				<asp:linkbutton id="LinkButton2" runat="server">多项选择题</asp:linkbutton></P>
			<P>&nbsp;&nbsp;&nbsp;<asp:linkbutton id="LinkButton3" runat="server">判断题</asp:linkbutton></P>
			<P>&nbsp;&nbsp;&nbsp;<asp:linkbutton id="LinkButton4" runat="server">排序题</asp:linkbutton></P>
			<P></P>
			<P>&nbsp;&nbsp;
			</P>
			</asp:Panel><asp:button id="Button2" style="Z-INDEX: 106; LEFT: 416px; POSITION: absolute; TOP: 88px" runat="server"
				Font-Size="Large" Text="交卷"></asp:button><asp:button id="Button1" style="Z-INDEX: 107; LEFT: 240px; POSITION: absolute; TOP: 88px" runat="server"
				Font-Size="Large" Text="保存"></asp:button><asp:label id="Label1" style="Z-INDEX: 108; LEFT: 328px; POSITION: absolute; TOP: 24px" runat="server"
				Font-Size="X-Large"></asp:label></FONT></form>
	</body>
</HTML>

⌨️ 快捷键说明

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