摘 要
公司人事管理系统是典型的人事信息管理系统,其主要的功能是把人事管理过程信息化,自动化以减轻人工的重复繁琐劳动。其开发主要包括后台数据库的建立维护以及前台应用程序的开发两个方面。对于后台数据库要求建立一个稳定的数据库,保持数据的一致性,完整性,安全性也是必要的。对于前台要求稳定,实用,易用。
本系统是为公司人事管理的各种工作而设计的。根据需求分析,需要实现对系统用户,基本信息(公司部门,人员相关信息等),考勤考评的管理。
经过分析,本系统使用SQLSERVER做为其后台数据库,采用ADO数据库链接技术;VisualC 做为开发工具,提供了相当齐备的类库、友好的编程界面和多种多样的数据库访问技术。其中ADO使得编写数据库应用程序变得简单容易。
公司人事管理系统是典型的信息管理系统,其开发主要包括后台数据库的建立和维护以及前端应用程序的开发两个方面。对于前者要求建立起数据一致性,完整性,安全性好的库。而对于后者则要求应用程序功能完备,易使用等特点。
关键词:VC 数据库;人事管理系统;ADO数据源
Abstract
Company'spersonneladministrativesystemistypicalpersonnelinformationmanagementsystems,itsmainfunctionistoinformationandautomationtheprocessofthepersonnelinformationmanagementsystemwhichlightenpeoplefromrepeatedandtediousartificialwork.Itdevelopstworespectsofmaindevelopmentincludingthesetting-upandmaintainingofbackstagesupporter'sdatabaseandthefrontdeskapplicationprogram.Demandtosetupasteadydatabasetobackstagesupporter'sdatabase,keeptheconsistencyofthedata,integrality,securityareallessential.Astothethingthatthefrontdeskrequiressteadily,practical,easytouse.
Thissystemwasworkedanddesignedforvariouskindsofcompany'spersonnelmanagement.Accordingtodemandanalysis,needtorealizesystematicuserscorrectly,basicinformation(company'sdepartment,personnel'srelevantinformation,etc.),themanagementthattheattendancechecksandrate.
Afteranalyzing,thissystemusesSQLSERVERasitsbackstagedatabase,adoptADOdatabasetechnologytochain;takingVisualC asthedevelopinginstrumentwhichhasofferedquitecompletekindsofstorehouses,friendlyprogramminginterfaceandvarieddatabasevisitingtechnology.ADOtechnologymakesitsimpleandeasytowritedatabaseapplicationprogram.
Company'spersonneladministrativesystemistypicalinformationmanagementsystems,itdevelopstworespectsofmaindevelopmentincludingsetting-upandmaintenanceandfrontapplicationprogramofbackstagesupporter'sdatabase.Astothethingthattheformerdemandstosetupconsistencyofthedata,integrality,thestorehousewithgoodsecurity.Requiretothelatterthefunctionoftheapplicationprogramiscomplete,aptcharacteristicofusingetc.
Keywords:ThedatabaseofVisualC ;PersonnelManageSystem;ThedatasourceofADO
目录
1引言4
2系统分析5
2.1概要分析5
2.2总体设计7
2.3开发环境8
3数据库设计15
3.1数据规范化问题15
3.2设计表的结构15
4建立数据库表的类19
4.1部门表的类19
4.2员工基本信息表的类19
4.3员工家庭信息的类19
4.4员工教育及工作经历记录的类19
4.5员工考评表的类20
4.6员工工作考勤表的类20
4.7用户信息表的类20
5系统实现21
5.1用ADO进行数据库编程:21
5.2实现用户登录功能31
5.3实现部门管理功能33
5.4实现员工信息管理功能35
5.5实现考勤管理功能40
5.6实现员工考评管理功能44
5.7实现用户管理功能47
6结论51
7致谢51
8参考文献52
参考文献
[1]王明福,余苏宁.VisualC 程序设计[M].高等教育出版社,2003年.
[2]郑阿奇,丁有和,郑 进.VisualC 实用教程[M].电子工业出版社,2000年.
[3]乔月圆.VisualC 在人事管理系统设计中的应用.山西农业大学学报(自然科学版)2004年03期.
[4]沈炜,徐慧.VisualC 数据库编程技术与实例.人民邮电出版社.2001年.
[5]丁宝康.数据库原理.经济科学出版社.2000年.
[6]周绪等著.SQLServer2000入学与提高.清华大学出版社.2002年.
[7]潘锦平、施小姚、姚天昉.软件系统开发技术.西安电子科技大学出版社.1997年.
[8]萨师煊、王珊.数据库系统概论.高等教育出版社.1991年.
[9]揣瑞华.面向对象程序设计与VC 实践.西安电子科技大学出版社.2004年.
[10]林青松,胡方霞,刘杰.VisualC 案例开发.中国水利水电出版社.2005年.
[11]甘玲,邱劲.面向对象技术与VisualC .清华大学出版社.2004年.
[12]刘卫宏,陈培.VisualC 编程基础.科学出版社.2003年.
[13]http://dev.csdn.net/develop/article/65/65122.shtm在VisualC 中用ADO进行数据库编程(上)选择自ado_database的Blog
[14]http://dev.csdn.net/article/65/65121.shtm在VisualC 中用ADO进行数据库编程(中)选择自ado_database的Blog
[15]http://dev.csdn.net/develop/article/65/65120.shtm在VisualC 中用ADO进行数据库编程(下)选择自ado_database的Blog
[16]孙爱萍,李大辉1高校人事管理系统的研究与开发1软件,1995(8)
[17]齐林海,卢宝良,杨巧俊1利用Superbase4建立的科学管理信息系统,现代电力,1996(1)
[18]SQLqueryoptimizationmechanismonOracleandMSSQLserverdatabasesMaciaszek,InformationSystemsApplicationsandTechnology.ISAT2003Seminar,2003,p209-16
[19]ImplementingdataminingalgorithmswithMicrosoftSQLServer
Curotto,C.L.,becken,N.F.F.hirdInternationalConferenceonDataMining.DataMiningIII,2002,p73-82
[20]Hostingthe.NETruntimeinmicrosoftSQLserver
Acheson,Alazel(MicrosoftCorporation);Bendixen,Mason;Blakeley,JoseA.;Carlin,Peter;Ersan,Ebru;Fang,Jun;Jiang,Xiaowei;Kleinerman,Christian;Rathakrishnan,Balaji;Schaller,Gideon;Sezgin,Beysim;Venkatesh,Ramachandran;Zhang,Honggang,
ProceedingsoftheACMSIGMODInternationalConferen