图书分类号: 密 级:
毕业论文(设计)
基于C#图书管理系统的设计与实现 C# for library management system design and
implementation
姓 名 学 号 专 业 指导教师
计算机科学与技术
2014年 3月 22日
9
摘要
随着科技的发展和社会的进步,计算机已成为人们生活和工作中的得力助手。设计一个现代的图书管理系统势在必得。
图书管理系统是常用的信息管理系统之一,它的实现主要由两部分组成:数据库建立与维护和前台应用程序的开发。数据库要求非常强的一致性与完整性以及安全性,而前台应用程序则要求功能完善,简单易用。SQL Server 2005具有比较完善的功能,而Visual C# .NET是专门针对Microsoft的.NET战略而推出的语言,它对.NET Framework有最为全面的支持。综合各个方面选择C#作为程序设计语言和SQL Server 2005数据库。通过对中小型图书馆的需求分析,实现了对图书馆管理系统的功能模块划分,数据库模式分析,并设计了数据库结构和应用程序。由此得到了一个基本满足读者、图书馆管理员和高级管理者需求的图书管理系统。
关键词 图书馆管理系统;C#;.NET;SQL Server 2005
I
Abstract
Along with the technical development and society's progress, the computer has become the people to live with the work in primary assistant. Designs for a modern age library management system imperative.
Library management system is one of the common information management system, The Library Management System of which development mainly contains two aspects that one is the establishment and maintenance of the backstage database and the other is the development of the foreground application procedures, is a typical Management Information System. The Database which must has data consistency, integrality, security as well. And the foreground application requires the function is perfect, easy to use. All above these, I chose the C# programming language and SQL Server 2005 database. The reason why I chose to use the MS SQL Server 2005 as a development tool is that it can handle strong data completely and exactly. And I chose Visual C# .NET among many would be languages, because it is the best language in developing the application procedure. According the analysis of requirement min or small library, carved up the module of function, analyzed the mode of database and designed its structure and application. By that the book management system can satisfy the basical need of the reader, the administrators of the library and the high-level administrators.
Keywords: Library management system C# .NET SQL Server 2005
II
目 录
1 绪论 ........................................................................................................................................ 1 1.1 课题研究的背景和意义 ................................................................................................. 1 1.2 系统介绍 ......................................................................................................................... 1 1.3 开发工具及运行环境 ..................................................................................................... 1 2 系统分析 ................................................................................................................................ 3 2.1 需求分析的目的 ............................................................................................................. 3 2.2 需求分析 ......................................................................................................................... 3 2.3 可行性分析 ..................................................................................................................... 3 3 系统设计 ................................................................................................................................ 4 3.1 设计目标 ......................................................................................................................... 4 3.2 数据库设计 ..................................................................................................................... 4 3.2.1 概念结构设计 .......................................................................................................... 4 3.2.2 逻辑结构设计 .......................................................................................................... 5 3.3 总体设计 ......................................................................................................................... 7 3.3.1 项目规划 .................................................................................................................. 7 3.3.2 系统功能结构图 ...................................................................................................... 7 4 系统主要功能模块实现 ........................................................................................................ 9 4.1 登录界面 ......................................................................................................................... 9 4.2 主控制界面 ..................................................................................................................... 9 4.3 用户信息维护 ............................................................................................................... 10 4.4 读者信息维护 ............................................................................................................... 11 4.5 图书信息维护 ............................................................................................................... 12 4.6 出版社信息维护 ........................................................................................................... 13 4.7 借阅图书 ....................................................................................................................... 14 4.8 归还图书 ....................................................................................................................... 14 4.9 在库图书查询 ............................................................................................................... 15 4.10 个人借还情况 ............................................................................................................. 15 5 系统测试 .............................................................................................................................. 16 结论 .......................................................................................................................................... 18 致谢 .......................................................................................................................................... 19 参考文献 .................................................................................................................................. 20 附录 .......................................................................................................................................... 21 附录1 .................................................................................................................................... 21 附录2 .................................................................................................................................... 33
I
1 绪论
1.1 课题研究的背景和意义
随着社会的进步与发展,资源高效利用提高效率越来越受到人们的关注.图书管理也提出这样的要求,因此图书管理的数字化越来越受到大众的青睐.
传统图书管理方式存在一些弊端,比如需要人员较多,工作量很大,管理资料保存查询不方便等.图书管理系统是现代图书管理工具中的重要组成部分.现代化的图书管理需要有现代化的管理系统,采用计算机管理信息系统已成为图书管理科学化和现代化的一个重要特征,给图书管理带来极大的便利.近年来图书事业的发展,以及软件开发的逐步成熟,图书管理系统使得原来繁重而易出错的图书管理变得简单而有条理,我所开发这一图书管理系统的目的在于能够节省大量的人员成本,使得管理变得方便可靠。它广泛应用于图书馆管理,力求开发出一套严谨、可靠、功能完整的管理系统。使用图书管理系统能够很好的解决了传统图书管理的问题.人员需求能够减少,工作效率明显提高,管理更加便利.
1.2 系统介绍
此图书管理系统主要采用的是VisualStudio2008做为前台开发工具以及SQL Server 2005做为后台支持。以操作便捷、界面友好、灵活、实用为出发点,设计采用了模块化设计方法。系统实现了以下基本功能:
图书借阅:此功能实现图书的借阅。 图书查询:可以实现图书的查询。 归还图书:实现图书的归还。 系统管理:实现了对读者的管理。 出版社管理:完成对出版社的管理。 图书管理系统具有如下一些特点:
方便性:读者以及工作人员能够及时了解图书情况,以便完成需要的工作。 稳定性:系统性能稳定。
操作性强:由于系统及面简洁,使用容易很便于用户操作。
1.3 开发工具及运行环境
所用到的开发工具有:Microsoft Visual Studio2008(C#) 和SQL Server 2005。 Visual C#是功能最为强大可视化开发工具,它不仅支持传统的软件开发方法,更重要的是它能支持面向对象、可视化的开发风格。因此Visual C#又称作是一个集成开发工具,它提供了软件代码自动生成和可视化的资源编辑功能。
Visual C#具有的优点:提供了面向对象的应用程序框架MFC(Microsoft Foundation
1