




已阅读5页,还剩48页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
i 苏州市职业大学 毕 业 设 计(论 文) 设计(论文)题目: vb.net 实现图书馆图书与 用户数据管理 学 院 名 称: 苏州市职业大学 专 业: 计算机工程 班 级: 09 网络技术(1)班 姓 名: 陈恩点 学 号 096302124 指 导 教 师: 秦云涛 职 称 定稿日期: 2012 年 04 月 12 日 ii 摘摘 要要 图书馆有大量的数据需要处理,这些数据已经超越了人力所及, 信息科技高度发达的今天,我们可以通过计算机完成这些繁重的工作。 在 vb.net 下实现图书馆图书与用户数据管理,利用 vb.net 与 sql 链 接用数据库存储相关数据,用 vb.net 操作数据。实现了数据的集中 管理,使数据易于操作,便于管理。设计最终完成了数据库连接,提 供数据库,添加,修改,删除,实现数据简明处理方便使用。用数据 库约束完成数据的规则约束,用存储过程实现数据读取和对接操作, 同时还设计相应触发为数据操作带来便利。设计过程中先对用户需求 进行相应分析,进而总结出设计流程关系,各个功能模块给出了相应 的界面截图。 关键词:图书管数据管理,vb.net,数据库,sql iii vb.net library data management abstract: the library contains a large number of data need to be processed, these data have been beyond the reach of human power, information technology is highly developed today, we may through the computer to finish the hard work. in vb.net to achieve library and user data management, the use of vb.net and sql link with the database stored data, using vb.net operation data. realize the centralized management of data, so that the data is easy to operate, easy to manage. the design eventually completed the database connection, database, add, modify, delete, data processing and convenient use concise. use database constraint data rules, using stored procedures to achieve the data reading and docking operation, but also design corresponding trigger for data operation convenience. the design process of user demand were analyzed, and then summarized the relationship of each function module design process, presents the corresponding user interface. key words: library, vb.net, database, sql iv 目目 录录 第第 1 章章 绪论绪论.1 1.11开发背景及必要性 1 1.21系统需求 1 第第 2 章章用户需求分析用户需求分析2 2.11概论 2 2.21系统功能需求 2 2.31管理功能需求 8 2.41系统性能需求 8 第第 3 章章系统总体设计系统总体设计9 3.11系统初始化 9 第第 4 章章程序实现程序实现11 4.11判断结果界面 11 4.21初始化窗体界面 12 4.31管理者主界面 15 4.41帮助窗口界面 17 4.51触发演示 18 4.61数据库对接模块 20 第第 5 章章总结总结22 第第 6 章章参考文献参考文献23 第第 7 章章附录附录24 7.11初始化模块程序代码: 24 7.21管理主窗体代码: 39 7.31帮助窗体代码: 42 第第 8 章章致致 谢谢44 1 第第 1 1 章章 绪论绪论 1.111.11 开发背景及必要性开发背景及必要性 图书管理是高校内每一个系部或院部都必须切实面对的工作,但一直以来人 们使用传统的人工方式管理图书资料。这种方式存在着许多缺点,如效率低、保 密性差且较为繁琐。另外,随着图书资料数量的增加,其工作量也将大大增加, 这必将增加图书资料管理者的工作量和劳动强度,这将给图书资料信息的查找、 更新和维护都带来了很多困难。 经过详细的调查,目前我国各类高等学校中有相当一部分单位图书资料管理 还停留在人工管理的基础上。这样的管理机制已经不能适应时代的发展,其管理 方法将浪费许多人力和物力。随着科学技术的不断提高,这种传统的手工管理方 法必然被以计算机为基础的信息管理方法所取代。 图书管理作为计算机应用的一个分支,有着手工管理无法比拟的优点,如检 索迅速、查找方便、可靠性高、存储量大、保密性好、寿命长、成本低等。这些 优点能够极大地提高图书管理的效率。 1.211.21 系统需求系统需求 开发环境:windows xp 开发工具:microsoft visual studio 2010 数据库系统: msde2005 2 第第 2 2 章章 用户需求分析用户需求分析 2.112.11 概论概论 图书数量庞大所需记录信息更是种类繁多错综复杂,如果仅仅只靠人力的话 将会是一项极其繁重的工作。同时,人工操作中存在失误及不足,远不及计算机 的计算机存储能力。对于这样繁重乏味的工作我们尽可能利用先进的科技,计算 机来完成,以减轻工作人员的工作压力。所需要做的工作包括图书购入时的入库 登记,图书分类,图书保养等。同时包括工作人员的记录,管理。 2.212.21 系统功能系统功能需求需求 系统功能完成数据的录入,修改,删除。管理者只需在前台界面完成数据操作, 其他数据连接数据库创建等由程序自行完成。 程序开始阶段第一次运行程序,没有数据库为基础,无法连接数据库 3 在服务器上创建数据库:bookdatabase 在 bookdatabase 上创建两张表分别用于存放图书信息和用户信息 4 根据不同的需要对两张表进行相应约束 通过存储过程 vb.net 可以获取到数据库里的记录并加以应用 5 创建一个触发方便管理者录入信息的操作 创建示例记录即添加数据到表中这一步是可选的,如果管理者熟悉约束规则 就无需添加示例记录。 6 数据库至此创建完成,下面就可以进入管理界面面进行数据管理。 数据管理 7 2.312.31 管理功能需求管理功能需求 保证数据交互,在界面修改的数据同时也要在数据库中进行修改,修改后的 数据也可以继续被程序所读取。添加、删除的数据以行为单位,每条记录并非是 字符而是数据库中相应的属性。保证数据的准确性,稳定性,对于非法数据禁止 添加。对于删除的信息保存后再次读取的数据不应继续含有该信息,保证删除数 据不留痕迹,保证数据清爽整洁易于管理。 2.412.41 系统性能需求系统性能需求 (1) 稳定性 保证数据不被误操作所损毁,对于恶意操作进行截留不允许输入到数据库中, 保证数据库中数据稳定,真实。 8 (2) 可扩展性 提供足够的扩展空间保证系统可以应对尽可能多的问题,对于可能发生的故 障有一定预见性,并提前做好防范。 (3) 系统的标准性 系统在设计开发使用过程中都要涉及到很多计算机硬件、软件。所有这些都 要符合主流国际、国家和行业标准。 (4) 系统的易用性和易维护性 图书管理系统是直接面对使用人员的,而使用人员往往对计算机并不时非常 熟悉。这就要求系统能够提供良好的用户接口,易用的人机交互界面。要实现这 一点,就要求系统应该尽量使用用户熟悉的术语和中文信息的界面;针对用户可 能出现的使用问题,要提供足够的在线帮助,缩短用户对系统熟悉的过程。 (5) 系统的先进性 目前计算系统的技术发展相当快,做为图书管理系统工程,在系统的生命周 期尽量做到系统的先进,充分完成企业信息处理的要求而不至于落后。这一方面 通过系统的开放性和可扩充性,不断改善系统的功能完成。另一方面,在系统设 计和开发的过程中,应在考虑成本的基础上尽量采用当前主流并先进且有良好发 展前途的产品。 第第 3 3 章章 系统总体设计系统总体设计 3.113.11 系统初始化系统初始化 9 通过这册表标记键值获取服务器状态。 初始化操作,数据库创建。 10 11 第第 4 4 章章 程序实现程序实现 4.114.11 判断结果界面判断结果界面 判断结果界面: 代码实现: 主窗体: dim readvalue = my.computer.registry.getvalue(“hkey_current_user databasecreated“ , “created“, nothing) if readvalue “true“ then setfirst_form.show() me.hide() end if 初始化提示窗体: messagebox.show(“第一次运行本程序请先进行初始化“, “提示“, messageboxbuttons.ok, messageboxicon.information) 12 4.214.21 初始化窗体界面初始化窗体界面 13 代码实现: dim sqlstatement as string = _ “if exists (select * “ may be back in the past, to oneself the paranoid weird belief disillusionment, these days, my mind has been very messy, in my mind constantly. always feel oneself should go to do something, or write something. twenty 47 years of life trajectory deeply shallow, suddenly feel something, do it. 一字开头的年龄已经到了尾声。或许是愧疚于自己似乎把转瞬即逝的很多个不同的日子 过成了同一天的样子;或许是追溯过去,对自己那些近乎偏执的怪异信念的醒悟,这些天以 来,思绪一直很凌乱,在脑海中不断纠缠。总觉得自己似乎应该去做点什么,或者写点什么。 二十年的人生轨迹深深浅浅,突然就感觉到有些事情,非做不可了。 the end of our life, and can meet many things really do? 而穷尽我们的一生,又能遇到多少事情是真正地非做不可? during my childhood, think lucky money and new clothes are necessary for new year, but as the advance of the age, will be more and more found that those things are optional; junior high school, thought to have a crush on just means that the real growth, but over the past three years later, his writing of alumni in peace, suddenly found that isnt really grow up, it seems is not so important; then in high school, think dont want to give vent to out your inner voice can be in the high school children of the feelings in a period, but was eventually infarction when graduation party in the throat, later again stood on the pitch he has sweat profusely, looked at his thrown a basketball hoops, suddenly found himself has already cant remember his appearance. 童年时,觉得压岁钱和新衣服是过年必备,但是随着年龄的推进,会越来越发现,那些 东西根本就可有可无;初中时,以为要有一场暗恋才 意味着真正的成长,但三年过去后,自己心平气和的 写同学录的时候,突然就发现是不是真正的成长了, 好像并没有那么重要了;然后到了高中,觉得非要吐 露出自己的心声才能为高中生涯里的懵懂情愫划上一 个句点,但毕业晚会的时候最终还是被梗塞在了咽喉, 后来再次站在他曾经挥汗如雨的球场,看着他投过篮 球的球框时,突然间发现自己已经想不起他的容颜。 originally, this world, can produce a chemical reaction to an event, in addition to resolutely, have to do, and time.原来,这个世界上,对某个事件能产生化学反应的,除了非做不可的坚 决,还有,时间。 a persons time, your ideas are always special to clear. want, want, line is clear, as if nothing could shake his. also once seemed to be determined to do something, but more often is he backed out at last. dislike his cowardice, finally found that there are a lot of love, there are a lot of miss, like shadow really have been doomed. those who do, just green years oneself give oneself an arm injection, or is a self-righteous spiritual. 一个人的时候,自己的想法总是特别地清晰。想要的,不想要的,界限明确,好像没有 什么可以撼动自己。也曾经好像已经下定了决心去做某件事,但更多的时候是最后又打起了 退堂鼓。嫌恶过自己的怯懦,最终却发现有很多缘分,有很多错过,好像冥冥之中真的已经 注定。那些曾经所谓的非做不可,只是青葱年华里自己给自己注射的一支强心剂,或者说, 是自以为是的精神寄托罢了。 at the moment, the sky is dark, the air is fresh factor after just rained. suddenly thought of blue plaid shirt; those were broken into various shapes of stationery; from the corner at the beginning of deep friendship; have declared the end of the encounter that havent start planning. those years, those days of do, finally, like youth, will end in our life. 此刻,天空是阴暗的,空气里有着刚下过雨之后的清新因子。突然想到那件蓝格子衬衫; 那些被折成各种各样形状的信纸;那段从街角深巷伊始的友谊;还有那场还没有开始就宣告 48 了终结的邂逅计划那些年那些天的非做不可,终于和青春一样,都将在我们的人生中谢 幕。baumgartner the disappointing news: mission aborted. r plays an important role in this mission. starting at the ground, conditions have to be very calm - winds less than 2 mph, with no precipitation or humidity and limited cloud cover. the balloon, with capsule attached, will move through the lower level of the atmosphere (the troposphere) where our day-to-day weather lives. it will climb higher than the tip of mount everest (5.5 miles/8.85 kilometers), drifting even higher than the cruising altitude of commercial airliners (5.6 miles/9.17 kilometers) and into the stratosphere. as he crosses the boundary layer (called the tropopause),e can expect a lot of turbulence. we often close ourselves off when traumatic events happen in our lives; instead of letting the world soften us, we let it drive us deeper into ourselves. we try to deflect the hurt and pain by pretending it doesnt exist, but although we can try this all we want, in the end, we cant hide from ourselves. we need to learn to open our hearts to the potentials of life and let the world soften us. 生活发生不幸时,我们常常会关上心门;世界不仅没能慰藉我们,反倒使我们更加消沉。我 们假装一切仿佛都不曾发生,以此试图忘却伤痛,可就算隐藏得再好,最终也还是骗不了自 己。既然如此,何不尝试打开心门,拥抱生活中的各种可能,让世界感化我们呢? whenever we start to let our fears and seriousness get the best of us, we should take a step back and re-evaluate our behavior. the items listed below are six ways you can open your heart more fully and completely. 当恐惧与焦虑来袭时,我们应该退后一步,重新反思自己的言行。下面六个方法有助于你更 完满透彻地敞开心扉。whenever a painful situation arises in your life, try to embrace it instead of running away or trying to mask the hurt. when the sadness strikes, take a deep breath and lean into it. when we run away from sadness thats unfolding in our lives, it gets stronger and more real. we take an emotion thats fleeting and make it a solid event, instead of something that passes through us. 当生活中出现痛苦的事情时,别再逃跑或隐藏痛苦,试着拥抱它吧;当悲伤来袭时,试着深 呼吸,然后直面它。如果我们一味逃避生活中的悲伤,悲伤只会变得更强烈更真实悲伤 原本只是稍纵即逝的情绪,我们却固执地耿耿于怀 by utilizing our breath we soften our experiences. if we dam them up, our lives will stagnate, but when we keep them flowing, we allow more newness and greater experiences to blossom.深呼吸能减缓我们的感受。屏 住呼吸,生活停滞;呼出呼吸,更多新奇与经历又将拉开序幕。2. embrace the uncomfortable we all know what that twinge of anxiety feels like. we know how fear feels in our bodies: the tension in our necks, the tightness in our stomachs, etc. we can practice leaning into these feelings of discomfort and let them show us where we need to go.我们都 经历过焦灼的煎熬感,也都感受过恐惧造成的生理反应:脖子僵硬、胃酸翻腾。其实,我们 有能力面对这些痛苦的感受,从中领悟到出路。 the initial impulse is to run away to try and suppress these feelings by not acknowledging them. when we do this, we close ourselves off to the parts of our lives that we need to experience most. the next time you have this feeling of being truly uncomfortable, do yourself a favor and lean into the feeling. act in spite of the fear. 我们的第一反应总是逃避以为否认不安情绪的存在就能万事大吉,可这也恰好妨碍了我 们经历最需要的生活体验。下次感到不安时,不管有多害怕,也请试着勇敢面对吧。 3. ask your heart what it wants 倾听内心 were often confused at the next step to take, making pros and cons lists until our eyes bleed and our brains are sore. instead of always 49 taking this approach, what if we engaged a new part of ourselves that isnt usually involved in the decision making process?我们常对未来犹疑不定,反复考虑利弊直到身心俱疲。与其 一味顾虑重重,不如从局外人的角度看待决策之事。from: the supersonic descent could happen as early as sunda. the weathethe balloon will slowly drift to the edge of space at 120,000 feet (then, i would assume, he will slowly step out onto something resembling an olympic diving platform. below, the earth becomes the concrete bottom of a swimming pool that he wants to land on, b
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 甲乙丙合作协议合同范本
- 村级修桥安全协议书范本
- 顺义活塞机采购合同范本
- 股权转让合同的解除协议
- 私人财产投资协议书范本
- 汽修店工人雇佣合同范本
- 股东退休强制退股协议书
- 浙江小型仓库租赁协议书
- 自建房模具出售合同范本
- 水稻种植托管服务协议书
- 2024年西安交通大学国际合作交流处招聘笔试真题
- 2025年吉林省中考生物试卷真题答案详解解读(精校打印)
- 儿童腹痛鉴别诊断
- 完整版:美制螺纹尺寸对照表(牙数、牙高、螺距、小径、中径外径、钻孔)
- 管理学原理(南大马工程)
- 律师事务所招投标书
- 绿化项目设备配置方案
- 安徽硅宝有机硅新材料有限公司年产8500吨偶联剂项目环境影响报告书
- 国际技术转让合同(中英文对照)
- FBCDZ系列通风机使用说明书
- 疑似预防接种异常反应报表
评论
0/150
提交评论