📄 searchstudent.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" %>
<%
if(session.getAttribute("admin")==null)
out.print("<script>alert('请先登录!');window.location.href='login.htm'</script>");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>查询学生</title>
<link href="css/mycss.css" rel="stylesheet" type="text/css">
</head>
<body>
<%@ include file="head.htm" %>
<%
session.setAttribute("strSQL",null);
session.setAttribute("jumppage",null);
%>
<p> </p>
<p> </p>
<form name="form1" method="post" action="/MyDesign/SearchStudent">
<table width="27%" border="1" align="center" bordercolor="#660000" bgcolor="#CCCCCC">
<tr>
<td width="100%" height="61" colspan="2"> <div align="center"><font color="#660000"><strong><font size="5">查询学生</font></strong>
</font></div></td>
</tr>
<tr>
<td colspan="2" height="39"> <div align="center"><font color="#660000" size="3">请输入查询条件</font></div></td>
</tr>
<tr>
<td width="32%"><div align="center"><font color="#660000">学号</font></div></td>
<td width="68%"><font color="#000000">
<input name="studentid" type="text" id="studentid" size="20" maxlength="10">
</font></td>
</tr>
<tr>
<td><div align="center"><font color="#660000">姓名</font></div></td>
<td><font color="#000000">
<input name="name" type="text" id="name" size="20" maxlength="8">
</font></td>
</tr>
<tr>
<td><div align="center"><font color="#660000">性别</font></div></td>
<td> <font color="#000000">
<select name="sex" size="1" id="sex">
<option>请选择</option>
<option>男</option>
<option>女</option>
</select>
</font></td>
</tr>
<tr>
<td><div align="center"><font color="#660000">籍贯</font></div></td>
<td><font color="#000000">
<input name="home" type="text" id="home" size="20" maxlength="20">
</font></td>
</tr>
<tr>
<td><div align="center"><font color="#660000">年度</font></div></td>
<td><font color="#000000">
<input name="years" type="text" id="years" size="20" maxlength="4">
</font></td>
</tr>
<tr>
<td><div align="center"><font color="#660000">年制</font></div></td>
<td><font color="#000000">
<input name="nianzhi" type="text" id="nianzhi2" size="20" maxlength="1">
</font></td>
</tr>
<tr>
<td><div align="center"><font color="#660000">学院</font></div></td>
<td><font color="#000000">
<select name="xueyuan" id="xueyuan">
<option>请选择</option>
<option>法学院</option>
<option>信息学院</option>
<option>经管学院</option>
<option>农学院</option>
<option>旅游学院</option>
<option>海洋学院</option>
<option>成教院</option>
</select>
</font></td>
</tr>
<tr>
<td><div align="center"><font color="#660000">班级</font></div></td>
<td><font color="#000000">
<input name="classid" type="text" id="classid" size="20" maxlength="20">
</font></td>
</tr>
<tr>
<td><div align="center"><font color="#660000">楼号</font></div></td>
<td><font color="#000000">
<input name="donghao" type="text" id="donghao" size="20" maxlength="2">
</font></td>
</tr>
<tr>
<td height="20"> <div align="center"><font color="#660000">房号</font></div></td>
<td><font color="#000000">
<input name="houseid" type="text" id="houseid" size="20" maxlength="3">
</font></td>
</tr>
<tr>
<td height="47" colspan="2"> <div align="center"> <font color="#660000" size="3">
<input type="submit" name="Submit" value="查询">
</font></div></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -