计算机应用 | 古代文学 | 市场营销 | 生命科学 | 交通物流 | 财务管理 | 历史学 | 毕业 | 哲学 | 政治 | 财税 | 经济 | 金融 | 审计 | 法学 | 护理学 | 国际经济与贸易
计算机软件 | 新闻传播 | 电子商务 | 土木工程 | 临床医学 | 旅游管理 | 建筑学 | 文学 | 化学 | 数学 | 物理 | 地理 | 理工 | 生命 | 文化 | 企业管理 | 电子信息工程
计算机网络 | 语言文学 | 信息安全 | 工程力学 | 工商管理 | 经济管理 | 计算机 | 机电 | 材料 | 医学 | 药学 | 会计 | 硕士 | 法律 | MBA
现当代文学 | 英美文学 | 通讯工程 | 网络工程 | 行政管理 | 公共管理 | 自动化 | 艺术 | 音乐 | 舞蹈 | 美术 | 本科 | 教育 | 英语 |

ASP学生管理系统毕业论文(一)毕业论文(5)

2013-06-24 01:10
导读:/tr tr td width="49%" align="right" valign="top"高考成绩:/td td align="left" colspan="2"%=rs("user_gkcj")%/td /tr tr td align="right" valign="top" colspan="3" p align="center"/td /tr /table /td
>
</tr>
<tr>
<td width="49%" align="right" valign="top">高考成绩:</td>
<td align="left" colspan="2"><%=rs("user_gkcj")%></td>
</tr>
<tr>
<td align="right" valign="top" colspan="3">
<p align="center"></td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
通过姓名查询学生信息
该功能模块实现和通过学号查询学生信息是类似的,只是通过学生姓名定位记录
5.2.2客户端模块设计
管理员端主要提供教务人员对信息的管理功能,包括以下几个功能模块
●基本信息管理模块。
●成绩管理模块。
●班级管理模块和科目管理模块。
●管理员维护模块。
1.登陆页面
关于用户登陆模块由用户名、密码两个文本区域组成。他是由输入的数值与数据库中的验证。如果一致。就进入管理页面。他的实现过程如下
<!--#include file="data.asp"-->
<%
dim admin_name,admin_pwd
admin_name=trim(request("name"))
admin_pwd=trim(request("pwd"))
if admin_name="" or admin_pwd="" then
response.write "<script>alert('对不起,用户名和密码不能为空!');document.location.href='admin.asp';</script>"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select * from admin where admin_name='"&admin_name&"'"
rs.open sql,conn,1,1
%>
<%
if not rs.eof then
if rs("admin_pwd")<>admin_pwd then
response.write "<script>alert('对不起,密码不正确,请重新输入');document.location.href='admin_index.asp';</script>"
response.end
else
session("user")=admin_name (转载自http://zw.NSEAC.com科教作文网)
response.redirect "info-manager.asp"
end if
else
response.write "<script>alert('对不起,你的用户名不存在,请与管理员联系!');document.location.href='admin.asp';</script>"
response.end
end if
%>
学生信息管理模块
学生信息管理模块主要有以下几个功能:
学生信息列表主要由文件info-manage.asp、updataxx.asp、delxx.asp
录入学生信息主要由add-info.asp、addxx1.asp两个文件来完成的
查询学生信息主要由search2.asp完成
学生信息列表功能实现info-manage.asp
<!--#include file="data.asp"-->
<!--#include file="user.asp"-->

<%
set rst=server.createobject("adodb.recordset")
sql="select * from st_info order by id desc"
rst.open sql,conn,1,1
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>学生信息管理</title>
<link rel="stylesheet" href="style.css">
</head>

<body topmargin="0">
<!--#include file="top-1.asp"-->
<div align="center">
<center>
<table width="738" height="35" cellspacing="0" cellpadding="0">
<td background="images/top_1.jpg">&nbsp; <a href="info-manager.asp">学生信息列表</a>
| <a href="add-info.asp">录入学生信息</a> | <a href="search2.asp">查询学生信息</a></table>
</center>
</div>
<div align="center">
<center>
<table border="0" width="700" cellspacing="0" cellpadding="0">
<%
if Not(rst.bof and rst.eof) then'判别数据表中是否为空记录
NumRecord=rst.recordcount (转载自http://zw.NSEAC.com科教作文网)
rst.pagesize=10
NumPage=rst.Pagecount
if request("page")=empty then
NoncePage=1
else
if Cint(request("page"))<1 then
NoncePage=1
else
NoncePage=request("page")
end if
if Cint(Trim(request("page")))>Cint(NumPage) then NoncePa

上一篇:ASP人才招聘系统(一)毕业论文网 下一篇:没有了