📄 score_search_student_more.asp
字号:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
<%
var i;
var j;
var PostWord;
PostWord=Request.QueryString("Method");
%>
<!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>
<!--#include file="link.asp"-->
</head>
<body>
<!--#include file="top.asp"-->
<%
Response.Write("<table border='1' width='760' cellPadding=0 cellSpacing=0 bgcolor='#FFCCFF' borderColor='#111111' borderColorDark=#0072b3 borderColorLight=#0072b3 style='BORDER-COLLAPSE: collapse'>");
Response.Write("<tr>");
Response.Write("<td width='50' height='20'><div align=center><font size='2' color='#ff0000'>序号</font></div></td>");
for(i=0;i<=Session("ScoreRs").Fields.Count-1;i++)
{
Response.Write("<td width='150' height='20'><div align=center><font size='2' color='#ff0000'>"+Session("ScoreRs")(i).Name+"</font></div></td>");
}
Response.Write("<td width='110' height='20'>"+"<div align=center><font size='2' color='#ff0000'>数据操作</font></div>"+"</td>");
Response.Write("</tr>");
if(PostWord="Previous")
{
for(i=1;i<=Session("ScoreFlag")*2;i++)
{
Session("ScoreRs").MovePrevious;
if(Session("ScoreRs").BOF)
{
Session("ScoreRs").MoveNext;
break;
}
}
}
Session("ScoreStart")=Session("ScoreRs").AbsolutePosition;
for(j=0;j<=Session("ScoreFlag")-1;j++)
{
Response.Write("<tr bgcolor='#ffffff'>");
Response.Write("<td width='50' height='20'><div align=center><font size='2'>"+Session("ScoreRs").AbsolutePosition+"</font></div></td>");
Session("ScoreEnd")=Session("ScoreRs").AbsolutePosition;
for(i=0;i<=Session("ScoreRs").Fields.Count-1;i++)
{
Response.Write("<td width='150' height='20'><div align=center><font size='2'>"+Session("ScoreRs")(i).Value+"</font></div></td>");
}
Response.Write("<td width='110' height='20'><div align=center><a target='_blank' href='score_inputmodify.asp?studentmessage="+Session("ScoreRs")(0).Value+"'><font size='2'>输入</font></a><font size='2'>||</font><a target='_blank' href='score_inputmodify.asp?studentmessage="+Session("ScoreRs")(0).Value+"'><font size='2'>修改</font></a></div></td>");
Response.Write("</tr>");
Session("ScoreRs").MoveNext;
if(Session("ScoreRs").EOF)
{
Session("ScoreRs").MovePrevious;
break;
}
}
Response.Write("<tr>");
Response.Write("<td width='760' colspan='6' height='20'>");
Response.Write("</td>");
Response.Write("</tr>");
Response.Write("</table>");
%>
<!--#include file="score_search_student_turnpage.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -