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

📄 studentcz.asp

📁 学生管理系统
💻 ASP
字号:
<!--#include file="conn.asp"-->
<html>
<head>
<title>查找</title>
</head>

<body background=tupian\bg14.jpg>
<%
cz=trim(request.form("select"))
  xinxi=trim(request.form("xinxi"))
%>
<table cellspacing="0" cellpadding="0" align="center" width="917" height="527">
<tr>
    <td width="250">
</td>
    <td width="700" valign="top">
	<% 
	set rs = Server.CreateObject("ADODB.Recordset")
	    sql="select * from 个人信息 where 编号='"&xinxi&"' or 学号='"&xinxi&"'or 姓名='"&xinxi&"' or 家庭住址='"&xinxi&"' or 手机号码='"&xinxi&"'"
	   rs.open sql,conn,1,1
  if rs.bof and rs.eof then
response.Write "抱歉,该同学不存在"
response.end  
else
  %>
<table border="1" width="100%" align="center"><tr><td>编号</td>
	           <td>学号</td>
			   <td>姓名</td>
			   <td>家庭住址</td>
			   <td>电话号码</td></tr>
			   <%do while not rs.eof%>
		  <tr><td><%=rs("编号")%></td>
		      <td><%=rs("学号")%></td>
			  <td><%=rs("姓名")%></td>
			  <td><%=rs("家庭住址")%></td>
			  <td><%=rs("手机号码")%></td></tr>
		   <%
             rs.movenext
              loop
	 end if
            %></table>	
	</td>
</tr>
</table>
</body>
</html> 

⌨️ 快捷键说明

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