www.gusucode.com > ASP毕业设计在线考试管理系统源码 > ASP毕业设计在线考试管理系统源码\code\user\displayresult.asp
<!--#include file="db.asp"--> <% sql="select * from score where userid=" & request("userid") & " and testid=" & request("testid") set rs=server.createobject("adodb.recordset") rs.open sql,conn,3,2 rs.movelast %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>在线考试系统</title> <script language="javascript"> </script> <link href="../Style.css" rel="stylesheet" type="text/css"> </head> <body> <table width="98%" border="0" cellpadding="5" cellspacing="0"> <tr> <td>当前位置:在线考试系统 -> 考试结果 <hr></td> </tr> </table> <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#5A8BCE" id="AutoNumber1" style="border-collapse: collapse"> <tr> <td width="100%" height="30" bgcolor="#E6F7FF" style="border-left-style: solid; border-left-width: 0; border-right-style: solid; border-right-width: 0; border-top-style: solid; border-top-width: 0; border-bottom: 1px solid #000000"> </td> </tr> <tr> <td width="100%" height="30" bgcolor="#FFFFFF">祝贺您,您已经成功完成考试</td> </tr> <tr> <td width="100%" height="30" bgcolor="#FFFFFF">开始答题的时间是:<%=rs("starttime")%></td> </tr> <tr> <td width="100%" height="30" bgcolor="#FFFFFF">结束答题的时间是:<%=rs("endtime")%></td> </tr> <tr> <td width="100%" height="30" bgcolor="#FFFFFF">本次考试的分为:<b><font color="#FF0000" size="3"><%=rs("score")%></font></b>分</td> </tr> <tr> <td width="100%" height="60" bgcolor="#E6F7FF" style="border-left-style: solid; border-left-width: 0; border-right-style: solid; border-right-width: 0; border-top: 1px solid #000000; border-bottom-style: solid; border-bottom-width: 0"> <p align="center"><a href="subject.asp">参加其他科目的考试</a></td> </tr> </table> </body> </html>