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

📄 showstudent.asp

📁 一个修改过的ASP学籍管理系统,用javascript+ado写的
💻 ASP
字号:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="936"%>
<%Response.Buffer=true;%>
<!--#include file="conn.asp"-->
<!--#include file="verifyStudent.asp"-->
<%	
	var rs;
	var id = Request.QueryString("studentNo");
	rs=Server.CreateObject("ADODB.Recordset");
	rs.ActiveConnection=Conn;
	rs.Source="SELECT * FROM student WHERE studentNo="+id;
	rs.CursorType=0;
	rs.CursorLocation=2;
	rs.LockType=3;
	rs.Open();
%>
<!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">
	<!--#include file="link.asp"-->
		<title>登陆测试</title>
    <style type="text/css">
		body{
			text-align:center;
		}
	</style>
	</head>
<body>
<div id="mainIndex">
	<div id="top"><!--#include file="top.asp"--></div>
    <div id="main">
    	<div align="center"><a href="search_score_result.asp?studentNo=<%=id%>">查看成绩</a></div>
    	<table border="1" width="763" bordercolor="#ff0000" bgcolor="#00ffff" cellPadding="0" cellSpacing="0">
          <tr>
            <td height="20" width="126"><font size="2" color="#FF0000">学籍号:</font></td>
            <td height="20" width="126"><font size="2" color="#000000"><%=rs("studentNo")%>&nbsp;</font></td>
            <td height="20" width="126"><font size="2" color="#FF0000">姓名:</font></td>
            <td height="20" width="126"><font size="2" color="#000000"><%=rs("name")%>&nbsp;</font></td>
            <td height="20" width="126"><font size="2" color="#FF0000">性别:</font></td>
            <td height="20" width="130"><font size="2" color="#000000"><%=rs("sex")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="20" width="126"><font size="2" color="#FF0000">出生年月:</font></td>
            <td height="20" width="126"><font size="2" color="#000000"><%=rs("birthday")%>&nbsp;</font></td>
            <td height="20" width="126"><font size="2" color="#FF0000">民族:</font></td>
            <td height="20" width="126"><font size="2" color="#000000"><%=rs("minzu")%>&nbsp;</font></td>
            <td height="20" width="126"><font size="2" color="#FF0000">政治面貌:</font></td>
            <td height="20" width="130"><font size="2" color="#000000"><%=rs("zhengzhimm")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="20"><font size="2" color="#FF0000">所在院系:</font></td>
            <td height="20" colspan="2"><font size="2" color="#000000"><%=rs("collegeId")%>&nbsp;</font></td>
            <td height="20"><font size="2" color="#FF0000">所学专业:</font></td>
            <td height="20" colspan="2"><font size="2" color="#000000"><%=rs("professionId")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="20" width="126"><font size="2" color="#FF0000">所在班级:</font></td>
            <td height="20" width="126"><font size="2" color="#000000"><%=rs("classId")%>&nbsp;</font></td>
            <td height="20" width="126"><font size="2" color="#FF0000">班级学号:</font></td>
            <td height="20" width="126"><font size="2" color="#000000"><%=rs("studentNo")%>&nbsp;</font></td>
            <td height="20" width="126"><font size="2" color="#FF0000">培养方式:</font></td>
            <td height="20" width="130"><font size="2" color="#000000"><%=rs("peiyangfs")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="20" width="126"><font size="2" color="#FF0000">学制:</font></td>
            <td height="20" width="126"><font size="2" color="#000000"><%=rs("xuezhi")%>&nbsp;</font></td>
            <td height="20" width="126"><font size="2" color="#FF0000">入学年份:</font></td>
            <td height="20" width="126"><font size="2" color="#000000"><%=rs("ruxuenianfen")%>&nbsp;</font></td>
            <td height="20" width="126"><font size="2" color="#FF0000">学历:</font></td>
            <td height="20" width="130"><font size="2" color="#000000"><%=rs("xueli")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="20" width="126"><font size="2" color="#FF0000">外语语种:</font></td>
            <td height="20" width="126"><font size="2" color="#000000"><%=rs("waiyu")%>&nbsp;</font></td>
            <td height="20" width="126"><font size="2" color="#FF0000">外语水平:</font></td>
            <td height="20" width="126"><font size="2" color="#000000"><%=rs("waiyushuiping")%>&nbsp;</font></td>
            <td height="20" width="126"><font size="2" color="#FF0000">身体状况:</font></td>
            <td height="20" width="130"><font size="2" color="#000000"><%=rs("shentizz")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="20"><font size="2" color="#FF0000">在读情况:</font></td>
            <td height="20" colspan="5"><font size="2" color="#000000"><%=rs("zaiduqk")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="20"><font size="2" color="#FF0000">家庭住址:</font></td>
            <td height="20" colspan="5"><font size="2" color="#000000"><%=rs("address")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="20"><font size="2" color="#FF0000">联系电话:</font></td>
            <td height="20" colspan="5"><font size="2" color="#000000"><%=rs("phoneNum")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="20"><font size="2" color="#FF0000">EMAIL:</font></td>
            <td height="20" colspan="5"><font size="2" color="#000000"><%=rs("email")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="20"><font size="2" color="#FF0000">个人主页:</font></td>
            <td height="20" colspan="5"><font size="2" color="#000000"><%=rs("homePage")%>&nbsp;</font></td>
          </tr>
          <tr>
            <td height="200"><font size="2" color="#FF0000">大学期间奖惩情况:</font></td>
            <td height="200" colspan="5"><font size="2" color="#000000"><%=rs("huojiangqk")%>&nbsp;</font></td>
          </tr>
        </table>        
    </div>
</div>


<%
rs.Close();
rs=null;
Conn.Close();
Conn=null;
%>
</body>                                                     
</html>                                                     

⌨️ 快捷键说明

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