?? look.asp
字號:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>25175學生成績管理系統(tǒng)v1.31</title>
<style type="text/css">
<!--
@import url("20041026_25175_stry_css.css");
-->
</style>
</head>
<body>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" bgcolor="#999999"><div align="center" class="unnamed3write">25175學生成績管理系統(tǒng)v1.31</div></td>
</tr>
</table>
<table width="768" height="25" align="center" cellpadding="0" cellspacing="0" class="unnamed_rld2">
<tr bgcolor="#EEEEEE">
<td width="100" height="25" align="center"><a href="index.asp">首頁</a></td>
<td width="100" align="center"><a href="res_stu.asp">按學號查詢</a></td>
<td width="100" align="center"><a href="res1_stu.asp">按班級查詢</a></td>
<td width="100" align="center" bgcolor="#EEEEEE"> </td>
<td width="100" align="center"> </td>
<td width="100" align="center"><font color="#0000CC" size="2"> </font></td>
<td width="100" align="center"> </td>
</tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
<TD height="25">
<%
xh=request("xh")
set rs=server.createobject("adodb.recordset")
conn = "DBQ=" + server.mappath("class_cj.mdb") + ";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
if request("xh")<>"" then
sql="select * from bbs1 where xh like'" & xh & "'"
else
sql="select top 1 * from bbs1"
end if
rs.Open sql,conn,1,1
totalput=rs.RecordCount
if rs.EOF and rs.BOF then
Response.Write "當前沒有這個學號的成績~~~~~~~~~~"
else
%>
</TD>
</tr>
<tr>
<TD height="25" colspan="6">班級:<%=rs("bj")%></TD>
</tr>
<tr>
<TD width="87" height="25">學號</TD>
<td width="83" height="25">姓名</td>
<td width="83" height="25">課程</td>
<td width="79" height="25">成績</td>
<td width="90" height="25">學期</td>
<td width="72" height="25">類型</td>
</tr>
<%
do while not rs.eof
%>
<tr>
<td width="87" height="25"><%=rs("xh")%></td>
<td width="83" height="25"><%=rs("user")%></td>
<td width="83" height="25"><%=rs("kc")%></td>
<td width="79" height="25"><%=rs("cj")%></td>
<td width="90" height="25"><%=rs("xq")%></td>
<td width="72" height="25"><%=rs("lx")%></td>
</tr>
<%
rs.movenext
loop
end if
rs.Close
set rs=nothing
set conn=nothing
%>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30" bgcolor="#999999"><div align="center" class="unnamed3write"><a href="http://www.25175.com" class="unnamed3write">powered by 25175.com</a></div></td>
</tr>
</table>
<p> </p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -