⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 numberquery.asp

📁 职业培训学校学生档案成绩费用管理系统V1.0免费版.rar
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
user_name=trim(request("user_name"))
if user_name="" then
	response.Write("请输入学生姓名!")
	response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select * from st_info where user_name='"&user_name&"'"
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="500" bordercolorlight="#000000" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF">
	<tr>
	<td width="20%" bgcolor="#EBE9FE" align="center">学号</td>
	<td width="20%" bgcolor="#EBE9FE" align="center">姓名</td>
	<td width="20%" bgcolor="#EBE9FE" align="center">入学时间</td>
	<td width="20%" bgcolor="#EBE9FE" align="center">所报专业</td>
	<td width="20%" bgcolor="#EBE9FE" align="center">返回</td>
	</tr>
<%
if Not rs.eof then
	do while not rs.eof
%>
	<tr>
	<td width="20%" align="center"><%=rs("user_number")%></td>
	<td width="20%" align="center"><%=rs("user_name")%></td>
	<td width="20%" align="center"><%=rs("in_time")%></td>
	<td width="20%" align="center"><%=rs("user_major")%></td>
	<td width="20%"  align="center"><a href=index.asp?user_number=<%=rs("user_number")%>>返回</a></td>
	</tr>
<%
	rs.movenext
	loop
else
	response.write "<tr><td colspan=4>对不起,没有该学生任何记录!!!</td><td><a href=index.asp>返回</a></td></tr>"
end if	
rs.close
set rs=nothing
%>
</table>
</div><p>
<!--#include file="down.asp"-->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -