📄 studentchengji.asp
字号:
<%
if session("sNumber")="" then
response.write "<script>alert('对不起,您没有登陆,请先登陆后在访问。');document.location.href='index.asp';</script>"
response.end
end if
%>
<!--#include file="conn.asp"-->
<%
dim sNumber
sNumber=trim(session("sNumber"))
set rs=server.createobject("adodb.recordset")
sql="select * from ach where user_number='"&sNumber&"'"
rs.open sql,conn,1,1
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>请假记录</title>
<link rel="stylesheet" href="admin/style.css">
</head>
<body>
<!--#include file="top.asp"--><P>
<div align="center">
<table border="1" width="700" bordercolorlight="#000000" cellspacing="0" cellpadding="4" bordercolordark="#FFFFFF">
<tr>
<td width="100" align="center">学号</td>
<td width="50" align="center">姓名</td>
<td width="70" align="center">考试时间</td>
<td width="200" align="center">考试科目</td>
<td width="50" align="center">考试成绩</td>
</tr>
<%if not rs.eof then%>
<%do while not rs.eof
%>
<tr>
<td width="100" align="center"><%=rs("user_number")%></td>
<td width="50" align="center"><%=rs("user_name")%></td>
<td width="70" align="center"><%=rs("test_data")%></td>
<td width="200" align="center"><%=rs("subject")%></td>
<td width="50" align="center"><%=rs("ach")%></td>
</tr>
<%
rs.movenext
loop
else%>
<tr>
<td width="100%" colspan="8">
对不起,没有您的成绩记录。<font color=red>如与您的实际情况不符,请务必到办公室说明!</fort>
</td>
</tr>
</table>
<%
end if
rs.close
set rs=nothing
%>
</div>
<p><p> <!--#include file="down.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -