中文摘要
网上选课系统是一个常见的应用系统,既有B/S结构,也有C/S结构.与传统的选课方式相比,网上选课系统利用局域网为学生选课带来了便利.只要选课没有截至,学生就能够灵活的修改自己的选课情况大大提高了学校选课工作的效率.
VisualC#是最近有Microsoft开发的一种简单,精练,类型安全,面向对象的语言,用于生成各种各样的.NET应用程序,包括WEB服务和ASP.NETWEB的应用程序.所我们使用VisualC#来完成选课系统得制作,选课系统主要是由客户端和服务端组成,服务端是本系统的后台数据库,主要使用SQLServer2000关系数据库.客户端通过后台服务器的数据存储来完成相关操作.客户端主要使用VisualC#的Windows窗体TreeView控件和XML文档来完成的.与数据库的连接时,主要调用DataSet数据库函数来完成客户端与服务端的数据联系,来实现选修,修改,删除的不同的功能.
关键词:TreeView控件,XML文档,DataSet,SQLServer2000.
Abstract
On-linechoosestheclasssystemisacommonapplicationsystem,alsohastheB/Sstructure,alsohastheC/SstructureChoosestheclasswaywiththetraditiontocompare,on-linechosetheclasssystemtochoosetheclassusingthelocalareanetworkforthestudenttobringtheconvenienceSolongaschoosestheclassnotupto,thestudentcouldnimblereviseownchoosestheclasssituationgreatlytoenhancetheschooltochoosetheclassworktheefficiency.
VisualC#wasrecentlyhastheMicrosoftdevelopmentonekindofsimplicity,concise,thetypesecurity,theobject-orientedlanguage,usedintoproducevariousNETapplicationprocedure,includingWEBserviceandASP.NETWEBapplicationprocedure.WeuseVisualC#tocompletechoosetheclasssystemtoresultinthemanufacture,choosestheclasssystemmainlyiscomposedbythecustomerendandtheserviceend,theserviceendisthissystembackstagedatabase,mainlyusesSQLtheServer2,000relationaldatabasesThecustomerendcompletesthecorrelationoperationthroughthebackstageserverdatastorage.ThecustomerendmainlyusesVisualC#WindowswindowTreeViewtocontrolandtheXMLdocumentscompletesWhenwithdatabaseconnection,mainlytransferstheDataSetdatabasefunctiontocompletethecustomerendandtheserviceenddatarelation,realizestakesasanelective,therevision,deletesdifferentfunction.
Key words:TreeViewActiveX,XMLdocuments,DataSet,SQLServer2000.
目录
第一章绪论……………………………………………………………………………………5
1.1VisualC#.NET的简介……………………………………………………………………5
1.2SQLServer2000的简介…………………………………………………………………6
第二章可行性分析……………………………………………………………………………6
2.1设计分析……………………………………………………………………………………6
2.2应用程序概况………………………………………………………………………………7
第三章关键的技术……………………………………………………………………………7
3.1XML文档对象模式…………………………………………………………………………7
3.2遍历DataSet………………………………………………………………………………7
3.3TreeView控件动态绑定数据………………………………………………………………8
3.4水晶报表……………………………………………………………………………………8
第四章数据库设计……………………………………………………………………………8
4.1数据库表的设计……………………………………………………………………………8
4.2数据存储过程的设计………………………………………………………………………10
第五章详细设计………………………………………………………………………………12
5.1学生子系统的设计…………………………………………………………………………13
5.2管理员子系统的设计………………………………………………………………………15
5.3学生信息报表的设计………………………………………………………………………20
第六章后记……………………………………………………………………………………22
参考文献………………………………………………………………………………………22
2.1设计分析
随着计算机和网络的普及,高等学校里纷纷建立了C/S或者B/S结构的网上选课系统.学生在学校的公共机房或者宿舍的个人电脑上〖本文来自:毕业设计论文网www.paper51.com〗通过网络来选课,教务处在教师则通过选课系统的管理员子系统来管理学生选课的情况,使得学生选课工作达到系统化和自动化,大大提供了学校的工作效果.
网上选课系统需要实现的功能: