📄 duzhexianshi.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../Connections/db1.asp" -->
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request.Form("hiddenField") <> "") Then
Recordset1__MMColParam = Request.Form("hiddenField")
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_db1_STRING
Recordset1.Source = "SELECT * FROM join_table,读者信息,读者借书信息 WHERE id = '" + Replace(Recordset1__MMColParam, "'", "''") + "' and 读者信息.学号=id and 读者信息.学号=读者借书信息.学号"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
Recordset1_numRows = Recordset1_numRows + Repeat1__numRows
%>
<!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>
<style type="text/css">
<!--
.style1 {
color: #0033CC;
font-size: 24px;
font-family: "幼圆";
font-weight: bold;
}
.style2 {
font-family: "幼圆";
font-size: 16px;
}
-->
</style>
</head>
<body>
<table width="600" border="1" align="center" cellpadding="0" cellspacing="0" bordercolordark="#0066FF">
<tr>
<td height="367" align="center" valign="top"><p><img src="tushuchaxun.png" width="600" height="93"></p>
<p class="style1">学生借书情况</p>
<form name="form1" method="post" action="">
<p> </p>
<table width="400" border="1" cellpadding="0" cellspacing="0" bordercolordark="#0066CC">
<tr>
<td><div align="center">学号</div></td>
<td><div align="center">姓名</div></td>
<td><div align="center">院系</div></td>
<td>已借图书</td>
<td>应还日期</td>
</tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<tr>
<td><div align="center"><%=(Recordset1.Fields.Item("学号").Value)%></div></td>
<td><div align="center"><%=(Recordset1.Fields.Item("姓名").Value)%></div></td>
<td><div align="center"><%=(Recordset1.Fields.Item("院系").Value)%></div></td>
<td><div align="center"><%=(Recordset1.Fields.Item("已借的图书").Value)%></div></td>
<td><div align="center"><%=(Recordset1.Fields.Item("应还日期").Value)%></div></td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
Recordset1.MoveNext()
Wend
%>
</table>
<p> </p>
</form>
<p align="right"> <a href="duzhechaxun.asp" class="style2">返回读者查询页面</a> </p></td>
</tr>
</table>
</body>
</html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -