亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? scorequery3.asp

?? 系統功能: 本學籍管理系統分為學生信息管理、學生成績管理、考試管理和用戶管理四大模塊
?? ASP
字號:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Connections/StudentConn.asp" -->
<%
Dim rsTestName__MMColParam,rsScore__MMColParam
Dim strSheetName, strStudentNum, strName, strGrade, strClass,strSubjects
strSheetName = Request("SheetName")
rsTestName__MMColParam = Request("SheetName")
strOrderField=Request("OrderField")
if strOrderField="" then strOrderField="StudentNum"
if strOrderField="總分" then strOrderField=strOrderField & " DESC"

set rsSubjects = Server.CreateObject("ADODB.Recordset")
rsSubjects.ActiveConnection = MM_StudentConn_STRING
rsSubjects.Source = "SELECT Top 1 * FROM " & strSheetName
rsSubjects.CursorType = 0
rsSubjects.CursorLocation = 2
rsSubjects.LockType = 3
rsSubjects.Open()
rsSubjects_numRows = 0
strSubjects=strSheetName & "." & rsSubjects.Fields.Item(5).Name
for i=6 to rsSubjects.Fields.Count-1
  strSubjects = strSubjects & "," & strSheetName & "." & rsSubjects.Fields.Item(i).Name
next
strSubjects = strSubjects & ",總分,平均分,全級排名,班級排名"
%>
<%
set rsTestName = Server.CreateObject("ADODB.Recordset")
rsTestName.ActiveConnection = MM_StudentConn_STRING
rsTestName.Source = "SELECT SheetName, TestName FROM TestName WHERE SheetName = '" + Replace(rsTestName__MMColParam, "'", "''") + "'"
rsTestName.CursorType = 0
rsTestName.CursorLocation = 2
rsTestName.LockType = 3
rsTestName.Open()
rsTestName_numRows = 0
%>
<%
strStudentNum= Request("StudentNum")
strName=Request("Name")
strGrade=Request("Grade")
strClass=Request("ClassSelect")

set rsScore = Server.CreateObject("ADODB.Recordset")
rsScore.ActiveConnection = MM_StudentConn_STRING

strSQL = "Select " & strSheetName & ".StudentNum, StudentInfo.Name, " & strSubjects & " From " & strSheetName
strSQL = strSQL & " LEFT JOIN StudentInfo ON " & strSheetName & ".StudentNum = StudentInfo.StudentNum"

if (strStudentNum <> "") then
  strSQL = strSQL & " Where " & strSheetName & ".StudentNum Like '%" & strStudentNum & "%'"
elseif (strName<>"") then
  strSQL = strSQL & " Where StudentInfo.Name Like '%" & strName & "%'"
else  
  If len(Year(Now()))<=2 Then
    NewYear="20" & Year(Now())
  Else
    NewYear=Year(Now())
  End If
  If len(Month(Now()))<=1 Then
    NewMonth="0" & Month(Now())
  Else
    NewMonth=Month(Now())
  End If
  if NewMonth<9 then
    strStudentNum=NewYear-strGrade-1
  else
    strStudentNum=NewYear-strGrade
  end if
  if strClass="All" then strClass=""
  if Len(strClass)=1 then
    strClass="0" & strClass
  end if
  strSQL = strSQL & " Where " & strSheetName & ".StudentNum Like '%" & strStudentNum & strClass & "%'"
end if
strSQL = strSQL & " ORDER BY " & strSheetName & "." & strOrderField

rsScore.Source = strSQL  
rsScore.CursorType = 0
rsScore.CursorLocation = 2
rsScore.LockType = 3
rsScore.Open()
rsScore_numRows = 0
%>

<%
Dim Repeat1__numRows
Repeat1__numRows = -1
Dim Repeat1__index
Repeat1__index = 0
rsScore_numRows = rsScore_numRows + Repeat1__numRows
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then MM_removeList = MM_removeList & "&" & MM_paramName & "="
MM_keepURL="":MM_keepForm="":MM_keepBoth="":MM_keepNone=""

' add the URL parameters to the MM_keepURL string
For Each Item In Request.QueryString
  NextItem = "&" & Item & "="
  If (InStr(1,MM_removeList,NextItem,1) = 0) Then
    MM_keepURL = MM_keepURL & NextItem & Server.URLencode(Request.QueryString(Item))
  End If
Next

' add the Form variables to the MM_keepForm string
For Each Item In Request.Form
  NextItem = "&" & Item & "="
  If (InStr(1,MM_removeList,NextItem,1) = 0) Then
    MM_keepForm = MM_keepForm & NextItem & Server.URLencode(Request.Form(Item))
  End If
Next

' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
if (MM_keepBoth <> "") Then MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
if (MM_keepURL <> "")  Then MM_keepURL  = Right(MM_keepURL, Len(MM_keepURL) - 1)
if (MM_keepForm <> "") Then MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)

' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
  If (firstItem <> "") Then
    MM_joinChar = "&"
  Else
    MM_joinChar = ""
  End If
End Function
%>
<%
'  *** Recordset Stats, Move To Record, and Go To Record: declare stats variables

Dim rsScore_total
Dim rsScore_first
Dim rsScore_last

' set the record count
rsScore_total = rsScore.RecordCount

' set the number of rows displayed on this page
If (rsScore_numRows < 0) Then
  rsScore_numRows = rsScore_total
Elseif (rsScore_numRows = 0) Then
  rsScore_numRows = 1
End If

' set the first and last displayed record
rsScore_first = 1
rsScore_last  = rsScore_first + rsScore_numRows - 1

' if we have the correct record count, check the other stats
If (rsScore_total <> -1) Then
  If (rsScore_first > rsScore_total) Then
    rsScore_first = rsScore_total
  End If
  If (rsScore_last > rsScore_total) Then
    rsScore_last = rsScore_total
  End If
  If (rsScore_numRows > rsScore_total) Then
    rsScore_numRows = rsScore_total
  End If
End If
%>

<%
' *** Recordset Stats: if we don't know the record count, manually count them

If (rsScore_total = -1) Then

  ' count the total records by iterating through the recordset
  rsScore_total=0
  While (Not rsScore.EOF)
    rsScore_total = rsScore_total + 1
    rsScore.MoveNext
  Wend

  ' reset the cursor to the beginning
  If (rsScore.CursorType > 0) Then
    rsScore.MoveFirst
  Else
    rsScore.Requery
  End If

  ' set the number of rows displayed on this page
  If (rsScore_numRows < 0 Or rsScore_numRows > rsScore_total) Then
    rsScore_numRows = rsScore_total
  End If

  ' set the first and last displayed record
  rsScore_first = 1
  rsScore_last = rsScore_first + rsScore_numRows - 1
  
  If (rsScore_first > rsScore_total) Then
    rsScore_first = rsScore_total
  End If
  If (rsScore_last > rsScore_total) Then
    rsScore_last = rsScore_total
  End If

End If
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>計算總分與排名</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2600.0" Name=GENERATOR>
<link href="home.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0>
<!--#include file="ScoreManage_Top.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=760 align=center border=0>
  <TBODY>
    <TR> 
      <TD bgcolor="#F2FBF2"><p align="center"><font size="5"><strong>計算總分與排名結果</strong></font></p>
        <b> 考試名稱:</b>&nbsp;<%=(rsTestName.Fields.Item("TestName").Value)%><font color="#FF0000"><b><font color="#0066cc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></b></font><b>查詢條件:</b> 
          <%
			 if Request("StudentNum")<>"" then
			     response.write "學號中含有“" & strStudentNum & "”"
			 elseif strName<>"" then
			     response.write "姓名中含有“" & strName & "”"
			 else
				 if strClass<>"" then strClass=strClass & "班" 
				 response.write "高" & strGrade+1 & "級" & strClass 
			 end if
			%>
          <% If Not rsScore.EOF Or Not rsScore.BOF Then %>
        <form Name="del" onsubmit="return ConfirmDel()" method="post" action="ScoreDel2.asp">
                  共找到&nbsp;<font color="#FF0000"><%=(rsScore_total)%></font>&nbsp;條記錄! 
                  <table cellspacing=0 width="100%" border=1 cellpadding="0" bordercolor="#FFCC00">
                    <tr align="center" valign="middle" bordercolor="#FFCC00"> 
                      <td height="28"><font color="#000000">學 號</font></td>
                      <td height="28"><font color="#000000">姓 名</font></td>
                      <%
						for i=2 to rsScore.Fields.Count-1
						  Response.Write "<td height='28'><font color='#000000'>" & rsScore.Fields.Item(i).Name & "</font></td>"
						next
						%>
                    </tr>
                    <% 
While ((Repeat1__numRows <> 0) AND (NOT rsScore.EOF)) 
%>
                    <tr align="center" valign="middle"> 
                      <%
						for i=0 to rsScore.Fields.Count-1
						  tmpScore=rsScore.Fields.Item(i).Value
						  if IsNull(tmpScore) then tmpScore="&nbsp;"						  
						  Response.Write "<td height='20'>" & tmpScore & "</td>"
						next
						%>
                    </tr>
                    <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  rsScore.MoveNext()
Wend
%>
                  </table>
                </form>
                <% else %> <br> <br> <br>
                找不到符合條件的記錄!<br> <br> <br> <% end if %>
		</TD>
    </TR>
  </TBODY>
</TABLE>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
<!--#include file="footer.asp" -->	</td>
  </tr>
</table></BODY>
</HTML>
<%
rsTestName.Close()
%>
<%
rsScore.Close()
%>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人黄色小视频在线观看| 欧美大片日本大片免费观看| 蜜臀久久99精品久久久画质超高清 | 国产在线一区二区综合免费视频| 亚洲无人区一区| 亚洲高清久久久| 日韩和的一区二区| 久久精品国产精品青草| 青青草国产成人99久久| 毛片av中文字幕一区二区| 九一九一国产精品| 国产激情偷乱视频一区二区三区| 国产综合成人久久大片91| 国产精品一区二区在线观看不卡 | 亚洲同性gay激情无套| 亚洲男人的天堂在线观看| 亚洲一二三级电影| 秋霞影院一区二区| 国产福利一区二区| 91国偷自产一区二区开放时间| 欧洲精品一区二区| 日韩欧美色综合网站| 国产午夜亚洲精品理论片色戒| 国产精品麻豆视频| 亚洲电影第三页| 国产一区视频导航| 欧美亚洲综合一区| 欧美成人精品1314www| 国产女同互慰高潮91漫画| 一区二区三区中文字幕在线观看| 首页国产丝袜综合| 国产成人三级在线观看| 91国产免费看| 久久九九久久九九| 丝袜诱惑制服诱惑色一区在线观看 | 成人精品免费视频| 欧美日本乱大交xxxxx| 国产日韩精品一区二区三区| 亚洲乱码精品一二三四区日韩在线| 天天影视涩香欲综合网| 大胆亚洲人体视频| 日韩天堂在线观看| 一区二区视频在线看| 黄色成人免费在线| 欧美午夜精品久久久| 国产精品网曝门| 久久疯狂做爰流白浆xx| 欧美私模裸体表演在线观看| 久久中文字幕电影| 日韩和欧美一区二区| 99久久精品国产导航| 精品国产乱码久久久久久牛牛 | 不卡av在线免费观看| 日韩三级.com| 亚洲国产日韩综合久久精品| 成人av影视在线观看| 精品1区2区在线观看| 亚洲高清三级视频| 91社区在线播放| 国产蜜臀av在线一区二区三区| 日本特黄久久久高潮| 欧美群妇大交群中文字幕| 亚洲三级在线免费观看| 不卡高清视频专区| 国产精品无人区| 成人免费毛片app| 国产精品欧美极品| 成人av在线网| 亚洲日本韩国一区| 欧美在线看片a免费观看| 亚洲欧美激情小说另类| 色网站国产精品| 亚洲另类色综合网站| 白白色亚洲国产精品| 中文字幕在线不卡一区| 成人av电影免费在线播放| 国产精品久久久久影院| av电影在线观看完整版一区二区| 中文字幕在线不卡国产视频| 国产精品99久| 亚洲欧美日韩国产综合在线| 色综合色狠狠综合色| 亚洲欧美一区二区久久| 欧美在线制服丝袜| 图片区小说区区亚洲影院| 91麻豆精品国产91| 国精品**一区二区三区在线蜜桃| 欧美国产日韩a欧美在线观看| 久久91精品久久久久久秒播| 欧美精品一区二区三区高清aⅴ| 国产麻豆精品theporn| 国产精品污网站| 91国内精品野花午夜精品| 日韩一区精品字幕| 久久一区二区三区国产精品| 国产激情91久久精品导航| 亚洲摸摸操操av| 在线不卡一区二区| 捆绑变态av一区二区三区 | 成人免费视频网站在线观看| 中文字幕一区二区三区乱码在线| 在线观看亚洲专区| 久久国产精品72免费观看| 国产精品毛片久久久久久| 欧美性猛片xxxx免费看久爱| 开心九九激情九九欧美日韩精美视频电影 | 伦理电影国产精品| 国产精品视频一区二区三区不卡| 在线免费亚洲电影| 国产一区二区电影| 亚洲一区精品在线| 国产日韩欧美制服另类| 欧美老肥妇做.爰bbww视频| 国产精品1区二区.| 琪琪一区二区三区| 亚洲精品视频观看| 精品美女被调教视频大全网站| 9l国产精品久久久久麻豆| 亚洲一二三四久久| 亚洲国产精品国自产拍av| 在线不卡的av| 在线免费观看一区| 成人免费看片app下载| 日本成人在线视频网站| 亚洲人成人一区二区在线观看 | 免费成人在线观看| 一级精品视频在线观看宜春院| 久久女同性恋中文字幕| 欧美日韩精品二区第二页| 99精品视频免费在线观看| 久久99国产精品麻豆| 日韩电影在线免费观看| 亚洲影院理伦片| 亚洲青青青在线视频| 欧美国产精品一区| 久久久不卡影院| 精品久久人人做人人爰| 欧美一区二区精品在线| 欧日韩精品视频| 91丨九色丨蝌蚪丨老版| 国产v日产∨综合v精品视频| 激情综合网天天干| 美女尤物国产一区| 麻豆一区二区三区| 美女视频黄a大片欧美| 免费欧美在线视频| 日本不卡123| 肉肉av福利一精品导航| 五月婷婷激情综合网| 日精品一区二区三区| 日本午夜精品视频在线观看| 日本不卡不码高清免费观看| 裸体一区二区三区| 国产成人av电影| 国产乱码精品一区二区三| 国产在线精品不卡| 懂色中文一区二区在线播放| 国产成人av一区二区三区在线观看| 国产乱码精品一区二区三区忘忧草 | 黄色资源网久久资源365| 精品一区二区在线视频| 国产综合久久久久久久久久久久| 国内精品自线一区二区三区视频| 国产一区二区三区免费播放| 国产精品996| 91碰在线视频| 911精品国产一区二区在线| 日韩午夜中文字幕| 欧美高清一级片在线观看| 亚洲天天做日日做天天谢日日欢| 亚洲午夜激情av| 美女在线视频一区| 成人h精品动漫一区二区三区| 在线亚洲一区观看| 日韩精品影音先锋| 中文字幕一区不卡| 日韩精品欧美成人高清一区二区| 毛片不卡一区二区| 91一区在线观看| 欧美tickling网站挠脚心| 国产精品伦一区二区三级视频| 亚洲第一二三四区| 高清国产午夜精品久久久久久| 91麻豆免费在线观看| 日韩欧美国产综合一区| 国产精品欧美久久久久无广告 | 欧美精品久久99久久在免费线| 日韩欧美色综合网站| 亚洲欧洲性图库| 免费观看在线综合| 91免费版在线| 亚洲精品一区二区三区影院 | 国产乱对白刺激视频不卡| 91麻豆蜜桃一区二区三区| 精品日韩欧美在线| 亚洲综合激情小说| 成人精品一区二区三区四区 | 欧美三级电影精品| 国产精品入口麻豆九色| 午夜精品久久久久影视|