通行证 | 帐号: 密码: 注册 | 登录
网站地图
范文同学网


自动化 模具 机械 电子 通信 动画 英语范文 工程管理 金融范文 旅游管理 工业工程 生物工程 给排水范文 西门子PLC 历史学 三菱PLC
单片机 财务 会计 法律 行政 物理 物流范文 电子商务 制药工程 包装工程 土木工程 材料科学 汉语言范文 欧姆龙PLC 电压表 松下PLC
计算机 化工 数电 工商 食品 德语 国贸范文 人力资源 教育管理 交通工程 市场营销 印刷工程 机电一体化 数控范文 变电站 文化产业

  • 网站首页|
  • 文档范文|
  • 人工降重|
  • 职称文章发表|
  • 合作期刊|
  • 范文下载|
  • 计算机范文|
  • 外文翻译|
  • 免费范文|
  • 原创范文|
  • 开题报告

联系方式

当前位置:范文同学网 -> 免费范文 -> 计算机范文 -> 学生管理系统文档范文(三)
计算机文章范文| ASP设计| Delphi| VB设计| JSP设计| ASP.NET| VB.NET| java设计| VC| pb| VS| dreamweaver| c#.net| vf| VC++| 计算机文档范文| 范文下载| 自动化范文
·电气自动化原创文章范文 ·学前教育专业原创文章范文 ·国际经济贸易原创文章范文 ·药学专业原创文章范文 ·英语专业原创文章范文 ·公共事业管理原创文章范文
·金融专业原创文章范文 ·广播电视编导原创文章范文 ·电子商务专业原创文章范文 ·法律专业原创文章范文 ·工商管理原创文章范文 ·汉语言文学原创文章范文
·人力资源管理原创文章范文 ·摄影专业原创文章范文 ·心理学专业原创文章范文 ·教育管理原创文章范文 ·市场营销原创文章范文 ·计算机专业原创文章范文
·物流管理专业原创文章范文 ·小学教育专业原创文章范文 ·行政管理专业原创文章范文 ·土木工程管理原创文章范文 ·财务会计专业原创文章范文 ·信息管理信息系统原创范文
·新闻学专业原创文章范文 ·眼视光技术原创文章范文 ·播音与主持原创文章范文 ·广告学专业原创文章范文 ·表演专业原创文章范文 ·动画专业原创文章范文
·视觉传达设计原创文章范文 ·数控技术专业原创文章范文 ·录音艺术原创文章范文 ·光机电应用技术原创范文 ·机电一体化原创文章范文 ·印刷技术专业原创文章范文
·动漫设计与制作原创范文 ·软件技术专业原创文章范文 ·书法学专业原创文章范文 ·应用电子技术原创文章范文 ·电子信息工程技术原创范文 ·机械专业原创文章范文
·酒店管理专业原创文章范文 ·旅游管理专业原创文章范文 ·文化产业管理专业原创范文 ·体育教育专业原创文章范文 ·通信工程专业原创文章范文 ·护理专业原创文章范文

原创文档范文 → 计算机专业原创文档范文 软件技术专业原创文档范文  现成文档范文 → 计算机文档范文

学生管理系统文档范文(三)

本文ID:LW4860 ¥
olor="#EBE9FE" align="center">班级</td> <td width="110" bgcolor="#EBE9FE" align="center">出生年月</td> <td width="110" bgcolor="#EBE9FE" align="center">联系电话</td> <td width="71" bgcolor="#EBE9FE" align="center">修改</td> <td width="71" bgcolor="#..
olor="#EBE9FE" align="center">班级</td>
<td width="110" bgcolor="#EBE9FE" align="center">出生年月</td>
<td width="110" bgcolor="#EBE9FE" align="center">联系电话</td>
<td width="71" bgcolor="#EBE9FE" align="center">修改</td>
<td width="71" bgcolor="#EBE9FE" align="center">删除</td>
</tr>
<%if Not(rst.bof and rst.eof) then
rst.move (Cint(NoncePage)-1)*10,1
for i=1 to rst.pagesize
%>

<tr>
<td width="71" align="center"><%=rst("user_number")%></td>
<td width="78" align="center"><a href=xsxx.asp?id=<%=rst("id")%>><%=rst("user_name")%></a></td>
<td width="65" align="center"><%=rst("user_sex")%></td>
<td width="78" align="center"><%=rst("user_class")%></td>
<td width="110" align="center"><%=rst("user_time")%></td>
<td width="110" align="center"><%=rst("user_tel")%></td>
<td width="71" align="center"><a href=updataxx.asp?id=<%=rst("id")%>>修改</a></td>
<td width="71" align="center"><a href=deleta.asp?id=<%=rst("id")%>>删除</a></td>
</tr>
<%     rst.movenext
if rst.eof then exit for
next
else
response.write "<tr><td colspan=13><marquee scrolldelay=120 behavior=alternate>没有找到任何记录!!!</marquee></td></tr>"
end if

rst.close
set rst=nothing

%>
</table>
</table>
</div>
<table width="748" border="0" align="center">
<tr>
<td height="17">
<div align="right">
<input type="hidden" name="page" value="<%=NoncePage%>">
<%
if NoncePage>1 then
response.write "|<a href=info-manager.asp?page=1>首 页</a>| |<a href=info-manager?page="&NoncePage-1&">上一页</a>|&nbsp"
else
response.write "|首 页| |上一页|&nbsp"
end if
if Cint(Trim(NoncePage))<Cint(Trim(NumPage)) then
response.write "|<a href=info-manager?page="&NoncePage+1&">下一页</a>| |<a href=info-manager?page="&NumPage&">尾 页</a>|"
else
response.write "|下一页| |尾 页|"
end if
%>
&nbsp;页次:<font color="#0033CC"><%=NoncePage%></font>/<font color="#0033CC"><%=NumPage%></font>
共<font color="#0033CC"><%=NumRecord%></font>条记录&nbsp; </div>          </td>
</table>
</center>
</body>
</html>
代码中最后一部分是实现分页显示记录集。删除功能是由文件deleta.asp来实现的。其实现代码比较简单,通过查找相应的记录,然后删除数据库中的该数据记录即可。实现代码如下:
<!-- #include file = "data.asp" -->
<!--#include file="user.asp"-->

<%
dim id
dim strSQL

id  =  Request.QueryString("id")

strSQL = "DELETE FROM st_info WHERE ID =" & id & ""
'Response.Write strSQL
'Response.End
conn.execute (strSQL)
%>
<script language = java script>
<!--
 alert("删除成功!");
 window.location = "info-manager.asp"
//-->
</script>
修改学生信息的功能是通过文件updataxx.asp和updataxx1.asp来实现的.它的原理是通过连接数据库,找到该记录,然后通过更新记录中的数据就可以完成信息个修改功能。代码如下:
把修改后的数据保存到数据库updataxx1.asp

<!-- #include file = "data.asp" -->
<!--#include file="user.asp"-->
<%
dim strSQL, cmdObj, rsObj

       Set cmdObj  =  Server.CreateObject("ADODB.Command")
       Set rsObj  =  Server.CreateObject("ADODB.RecordSet")
       cmdObj.CommandText  =  "SELECT top 1 * FROM st_info ORDER by ID desc"
       cmdObj.CommandType  =  1
       Set cmdObj.ActiveConnection  =  conn
       rsObj.Open cmdObj, , 2,3
       rsObj("user_number")  = Request.Form("user_number")
    rsObj("user_name")  = Request.Form("user_name")
       rsObj("user_zkzh")  = Request.Form("user_zkzh")
       rsObj("user_sfzh")  = Request.Form("user_sfzh")
       rsObj("user_sex")  = Request.Form("user_sex")
    rsObj("user_time")  = Request.Form("user_time")
       rsObj("user_address")  = Request.Form("user_address")
       rsObj("user_tel")  = Request.Form("user_tel")
       rsObj("user_major")  = Request.Form("user_major")
       rsObj("user_class")  = Request.Form("user_class")
    rsObj("user_gkcj")  = Request.Form("user_gkcj")
       rsObj.Update
       rsObj.Close
       set rsObj = nothing
    set cmdObj = nothing
'       CloseConn()
%>
<script language = java script>
<!--
alert("修改成功!");
window.location = "xxgl.asp"
-->
</script>
到这里,学生的信息管理模块的基本功能已经实现了。
成绩管理
成绩管理是本系统中最复杂的一个,也是最具有代表性的,他主要实现以下几个功能
成绩列表:由文件cjgl.asp.updatacj.asp和delcj.asp完成
添加成绩:它指向学生信息列表,因为每个学生对应一份成绩单
单科成绩排名:由dkcjcx.asp和dkcjcx.asp
总成绩排名:由zcjcx.asp和zcjpm.asp
⑴成绩列表
成绩列表中,管理员可以对成绩列表进行修改和删除操作,页尾的代码部分主要是为了实现记录的分页功能 。其实现代码如下:
成绩列表实现代码 cjgl.asp

<!--#include file="data.asp"-->
<!--#include file="user.asp"-->
<%
set rsobj=server.createobject("adodb.recordset")
sql="select * from cj order by id desc"
rsobj.open sql,conn,1,1
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<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">
<td background="images/top_1.jpg">&nbsp; <a href="cjgl.asp">统考成绩列表</a>
| <a href="search2.asp">添加统考成绩
| <a href="dkcjcx.asp">单科成绩排行榜</a> | <a href="zcjcx.asp">总分成绩排行榜</a>
|
</center>
</div>

<div align="center">
<center>
<table border="0" width="700" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><%
if Not(rsobj.bof and rsobj.eof) then'判别数据表中是否为空记录
NumRecord=rsobj.recordcount
rsobj.pagesize=10
NumPage=rsobj.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 NoncePage=NumPage
end if
else
NumRecord=0
NumPage=0
NoncePage=0
end if
%>
<table border="1" width="700" bordercolorlight="#000000" cellspacing="0" cellpadding="5" bordercolordark="#FFFFFF">
<tr>
<td width="93" bgcolor="#EBE9FE" align="center">准考证号</td>
<td width="94" bgcolor="#EBE9FE" align="center">姓名</td>
<td width="94" bgcolor="#EBE9FE" align="center">班级</td>
<td width="94" bgcolor="#EBE9FE" align="center">考试场次</td>
<td width="94" bgcolor="#EBE9FE" align="center">考试科目</td>
<td width="69" bgcolor="#EBE9FE" align="center">成绩</td>
<td width="71" bgcolor="#EBE9FE" align="center">修改</td>
<td width="71" bgcolor="#EBE9FE" align="center">删除</td>
</tr>
<%if Not(rsobj.bof and rsobj.eof) then
rsobj.move (Cint(NoncePage)-1)*10,1
for i=1 to rsobj.pagesize
%>

<tr>
<td width="93" align="center"><%=rsobj("user_zkzh")%></td>
<td width="94" align="center"><%=rsobj("user_name")%></td>
<td width="94" align="center"><%=rsobj("user_class")%></td>
<td width="94" align="center"><%=rsobj("testno")%></td>
<td width="94" align="center"><%=rsobj("subject")%></td>
<%if rsobj("cj")>=60 then%>
<td width="69" align="center"><%=rsobj("cj")%></td>
<%else%>
<td width="69" align="center"><font color=red><%=rsobj("cj")%></font></td>
<%end if%>
<td width="71" align="center"><a href=updatacj.asp?id=<%=rsobj("id")%>>修改</a></td>
<td width="71" align="center"><a href=delcj.asp?id=<%=rsobj("id")%>>删除</a></td>
</tr>
<%     rsobj.movenext
if rsobj.eof then exit for
next
else
response.write "<tr><td colspan=13><marquee scrolldelay=120 behavior=alternate>没有找到任何记录!!!</marquee></td></tr>"
end if
rsobj.close
set rsobj=nothing
%>
</table>
</table>
</div>
<table width="748" border="0" align="center">
<tr>
<td height="17">

<div align="right">
<input type="hidden" name="page" value="<%=NoncePage%>">
<%
if NoncePage>1 then
response.write "|<a href=ach_manager.asp?page=1>首 页</a>| |<a href=ach_manager?page="&NoncePage-1&">上一页</a>|&nbsp"
else
response.write "|首 页| |上一页|&nbsp"
end if
if Cint(Trim(NoncePage))<Cint(Trim(NumPage)) then
response.write "|<a href=ach_manager?page="&NoncePage+1&">下一页</a>| |<a href=ach_manager?page="&NumPage&">尾 页</a>|"
else
response.write "|下一页| |尾 页|"
end if
%>
&nbsp;页次:<font color="#0033CC"><%=NoncePage%></font>/<font color="#0033CC"><%=NumPage%></font>
共<font color="#0033CC"><%=NumRecord%></font>条记录&nbsp; </div>
</td>
</tr>
</table>
</center>
</body>
</html>
成绩信息的修改和删除功能同学生信息管理模块中的修改和删除功能基本相似,所需要修改的部分就是关于数据库部分的表名和字段。
⑵单课成绩排名
单课成绩排名是由dkcjcx.asp和dkcjpm.asp实现的.其实现过程代码如下
选择排名条件dkcjcx.asp
<!--#include file="data.asp"-->
<!--#include file="user.asp"-->

<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<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.asp"-->
<div align="center">
<center>
<table width="738" height="35">
<td background="images/top_1.jpg">&nbsp; <a href="cjgl.asp">统考成绩列表</a>
| <a href="search2.asp">添加统考成绩
| <a href="dkcjcx.asp">单科成绩排行榜</a> | <a href="zcjcx.asp">总分成绩排行榜</a>

</center>
</div>
<div align="center">
<center>
<table border="1" width="400" cellspacing="0" cellpadding="5" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr>
<td width="100%">请选择相关类目查询</td>
</tr>
<tr>
<td width="100%">
<form method="POST" action="dkpmb.asp">
<table border="0" width="100%" cellpadding="5" cellspacing="0">
<tr>
<td width="33%" align="center" bgcolor="#FFFFEC">班级</td>
<td width="33%" align="center" bgcolor="#FFFFEC">统考场次</td>
<td width="34%" align="center" bgcolor="#FFFFEC">科目</td>
</tr>
<tr>
<%set rs=createobject("adodb.recordset")
sql="select * from class"
rs.open sql,conn,1,1
%>
<td width="33%" align="center"><select size="1" name="user_class">
<option value="all">统计全部</option>
<%do while not rs.eof%>
<option value="<%=rs("class")%>"><%=rs("class")%></option>
<%rs.movenext%>
<%loop%>
</select>
<%rs.close%></td>
<td width="33%" align="center">
<%
set rs1=server.createobject("adodb.recordset")
sql1="select * from dk"
rs1.open sql1,conn,1,1
%>
<select size="1" name="testno">
<%do while not rs1.eof%>
<option value="<%=rs1("testno")%>"><%=rs1("testno")%></option>
<%rs1.movenext%>
<%loop%>
</select>
<%rs1.close%></td>
<%set rs2=server.createobject("adodb.recordset")
sql2="select * from kc"
rs2.open sql2,conn,1,1
%>

<td width="34%" align="center"><select size="1" name="subject"><%do while not rs2.eof%>
<option value="<%=rs2("kc")%>"><%=rs2("kc")%></option><%rs2.movenext%>
<%loop%>
<%rs2.close%>
</select>
</td>
</tr>
</table>
</center>
<p align="right"><input type="submit" value="提交" name="B1"></p>
</form>
<center>
</td>
</tr>
</table>
</div>
</body>
</html>
             排名功能实现代码dkpm b.asp
<!--#include file="data.asp"-->
<!--#include file="user.asp"-->

<%
dim user_class,subject,testno
user_class=trim(request("user_class"))
subject=trim(request("subject"))
testno=trim(request("testno"))
%>
<%
set rs=server.createobject("adodb.recordset")
if user_class="all" then
sql="select * from cj where subject='"&subject&"' and testno='"&testno&"' order by cj desc"
else
sql="select * from cj where user_class='"&user_class&"' and subject='"&subject&"' and testno='"&testno&"' order by cj desc"
end if
rs.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.asp"-->
<div align="center">
<center>
<table width="738" height="35">
<td background="images/top_1.jpg">&nbsp; <a href="cjgl.asp">统考成绩列表</a>
| <a href="search_st.asp">添加统考成绩
| <a href="dkcjcx.asp">单科成绩排行榜</a> | <a href="zcjcx.asp">总分成绩排行榜</a>

</center>
</div>
<div align="center">
<table border="1" width="600" cellspacing="0" cellpadding="4" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr>
<td width="388" colspan="6" align="center">
<p align="left">查询结果</p>
</td>
</tr>
<center>
<%
if Not(rs.bof and rs.eof) then'判别数据表中是否为空记录
NumRecord=rs.recordcount
rs.pagesize=10
NumPage=rs.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 NoncePage=NumPage
end if
else
NumRecord=0
NumPage=0
NoncePage=0
end if
%>

<tr>
<td width="107" align="center">准考证号</td>
<td width="108" align="center">姓名</td>
<td width="108" align="center">班级</td>
<td width="108" align="center">考次</td>
<td width="108" align="center">科目</td>
<td width="46" align="center">成绩</td>
</tr>
<%if Not(rs.bof and rs.eof) then
rs.move (Cint(NoncePage)-1)*10,1
for i=1 to rs.pagesize
%>
<tr>

首页 上一页 1 2 3 下一页 尾页 3/3/3

学生管理系统文档范文(三)相关范文
网络在管理系统中的应用
针对酒店服务信息管理系统的设计与实现..
学生信息管理系统的设计和实现
关于实验室信息管理系统设计与实现的思考
统计管理系统需求分析以及解决方案
基于WEB平台的教务管理系统设计
学生会事务管理系统数据库的设计
针对酒店服务信息管理系统的设计与实现..
学生信息管理系统
网络在管理系统中的应用
上一篇:网上书店系统的设计与实现 下一篇:IBM 联邦数据库技术
点击查看关于 学生 管理系统 文档范文 的相关范文题目 【返回顶部】
精彩推荐
电气工程自动化原创范文  电子商务原创文章范文
人力资源专业原创文章范文 土木工程原创文章范文
工商管理专业原创范文    药学专业原创范文
汉语言文学专业原创范文  会计专业原创文章范文
计算机技术原创文章范文  金融学原创文章范文
法学专业原创文章范文   市场营销专业原创范文
信息管理专业原创文章范文 学前教育专业原创范文
公共事业管理专业原创范文 英语专业原创范文
教育管理专业原创范文   行政管理专业原创范文
热门范文
学生管理系统文档范文
免费图书管理系统
计算机局域网组建与互连文档设计范文
校园网组网方案设计
学生学籍管理信息系统文档范文
商品销售管理系统范文
超市管理系统+范文
网上书店系统的设计与实现
个人网站设计之上网导航设计
计算机应用基础学习心得

关于我们 | 联系方式 | 范文说明 | 网站地图 | 免费获取 | 钻石会员 | 硕士文章范文


范文同学网提供文档范文,原创文章范文,网站永久域名www.lunwentongxue.com ,lunwentongxue-范文同学网拼音首字母组合

本站部分文章来自网友投稿上传,如发现侵犯了您的版权,请联系指出,本站及时确认并删除  E-mail: 17304545@qq.com

Copyright@ 2009-2024 范文同学网 版权所有