电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

图书馆管理系统

6页
  • 卖家[上传人]:桔****
  • 文档编号:489850580
  • 上传时间:2023-11-10
  • 文档格式:DOC
  • 文档大小:30.50KB
  • / 6 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 1、课程设计(综合实验)报告( 2009 2010 年度第 2 学期)名 称:计算机软件技术基础 题 目: 图书管理系统 院 系: 信息工程 班 级: XXXXXXX 学 号: XXXXXXXXX 学生姓名: XXXX 指导教师: XXXX 设计周数: 4 成 绩: 日期:2010年5月29日一、 课程设计的目的与要求。问题描述:1) 图书馆有各种图书一万多册。2) 每种图书都有书名、书号(ISBN)、一名或多名作者(译者)、出版社、定价和内容简介。3) 借书证记录有借阅者的姓名、所在单位、职业等.4) 凭借书证借书,每次最多能借8本书。借书期限最长为30天。功能要求: 1) 设计并创建数据库与表。2) 实现新进图书的数据录入与编辑、删除等.3) 实现对所有购进图书的分类查询和分类统计。4) 能够按书名、作者等分类查询现有图书的数量。5) 记录借阅者的个人资料和所借图书的书名、书号数据等。6) 对超过期限的借阅或借阅数量超过8本的情况不准许借阅。7) 报表显示查询结果。开发环境:操作系统: Windows9。x 、Window2000或以上版本。数据库管理系统:本地或远程SQL-SERVE

      2、R2000数据库服务器。开发工具: Visual c+6.0语言。我负责的功能:1) 能够按书名、作者等分类查询现有图书。2) 实现对所有购进图书的分类查询和分类统计。二、 设计内容。1) 实现与数据库的连接:使用ADO 使数据库连入。2) 能够按书名、作者等分类查询现有图书。 void jieshu2:OnBUTTONchaxun()/ TODO: Add your control notification handler code hereUpdateData();m_pRecordset.CreateInstance(_uuidof(Recordset)); /判断书库中是否有该书。进行相应的操作。if(m_shuming=m_zuozhe=”)MessageBox(”Adding 书名或 作者 successfully !”,借书”);return;else CString strSQL;strSQL.Format(select * from Book_Info WHERE Book_Name=s OR Writer=s”,m_shuming,m_zuozhe);m_pReco

      3、rdsetOpen(strSQL.AllocSysString(), theApp.m_pConnection。GetInterfacePtr(),adOpenDynamic, adLockOptimistic, adCmdText); / TODO: Add your control notification handler code hereif(m_pRecordsetGetRecordCount()=0)MessageBox(”库中无书,”借书);m_pRecordsetClose();return;_variant_t theValue;CString m_strBookID,m_strBookName,m_strWriter, m_strPress,m_neirong;int m_1Now, m_1Total;float m_strPrice;m_pRecordset-MoveFirst();m_shuchu.Empty();/清空for(;!m_pRecordset-adoEOF;)theValue=m_pRecordset-GetCollect(”Book_ID);if

      4、(theValue.vt!=VT_NULL) m_strBookID=(char *)_bstr_t(theValue); theValue=m_pRecordset-GetCollect(Book_Name);if(theValue。vt!=VT_NULL) m_strBookName=(char *)_bstr_t(theValue); theValue=m_pRecordset-GetCollect(Writer);if(theValue。vt!=VT_NULL) m_strWriter=(char *)_bstr_t(theValue); theValue=m_pRecordsetGetCollect(”Press”);if(theValue。vt!=VT_NULL) m_strPress=(char *)_bstr_t(theValue); theValue=m_pRecordset-GetCollect(home);if(theValue。vt!=VT_NULL) m_neirong=(char *)_bstr_t(theValue); theValue=m_pRecord

      5、setGetCollect(”Price”);if(theValue。vt!=VT_NULL)m_strPrice=theValue。iVal; theValue=m_pRecordsetGetCollect(Now_Amount”);if(theValue。vt!=VT_NULL) m_1Now=theValue。iVal; theValue=m_pRecordset-GetCollect(”Total_Amount);if(theValue.vt!=VT_NULL) m_1Total=theValue.iVal; CString str;str。Format(”s %s %s %s s %f 现有 %d %d rn”,m_strBookID,m_strBookName,m_strWriter,m_strPress,m_neirong,m_strPrice,m_1Now,m_1Total);m_shuchu+=str;m_pRecordset-MoveNext();UpdateData(FALSE);/输出m_pRecordset-Close();return;3) 实现对所有购进图

      6、书的分类查询和分类统计.void jieshu2:OnBUTTONchaxunleibie() UpdateData();m_pRecordset。CreateInstance(_uuidof(Recordset)); if(m_leibie=”)MessageBox(”Adding 类别 successfully !,”借书”);return;else CString strSQL;strSQL。Format(”select * from Book_Info WHERE Book_keibie=s”,m_leibie);m_pRecordsetOpen(strSQL.AllocSysString(), theApp。m_pConnection。GetInterfacePtr(),adOpenDynamic, adLockOptimistic, adCmdText); if(m_pRecordset-GetRecordCount()=0)MessageBox(”库中无此类书,借书);m_pRecordset-Close();return;_variant_t theValue;CStr

      7、ing m_strBookID,m_strBookName,m_strWriter, m_strPress,m_neirong;int m_1Now, m_1Total;float m_strPrice;m_pRecordsetMoveFirst();m_shuchu.Empty();/清空for(;!m_pRecordset-adoEOF;)theValue=m_pRecordsetGetCollect(Book_ID);if(theValue.vt!=VT_NULL) m_strBookID=(char )_bstr_t(theValue); theValue=m_pRecordsetGetCollect(Book_Name”);if(theValue.vt!=VT_NULL) m_strBookName=(char *)_bstr_t(theValue); theValue=m_pRecordset-GetCollect(”Writer);if(theValue.vt!=VT_NULL) m_strWriter=(char *)_bstr_t(theValue); theValu

      8、e=m_pRecordsetGetCollect(Press”);if(theValue.vt!=VT_NULL) m_strPress=(char )_bstr_t(theValue); theValue=m_pRecordset-GetCollect(”home);if(theValue。vt!=VT_NULL) m_neirong=(char )_bstr_t(theValue); theValue=m_pRecordset-GetCollect(Price”);if(theValue.vt!=VT_NULL)m_strPrice=theValue.iVal; theValue=m_pRecordsetGetCollect(”Now_Amount”);if(theValue.vt!=VT_NULL) m_1Now=theValue.iVal; theValue=m_pRecordsetGetCollect(Total_Amount);if(theValue.vt!=VT_NULL) m_1Total=theValue。iVal; CString str;str。Format(s s %s s s f 现有 %d d rn”,m_strBookID,m_strBookName,m_strWriter,m_strPress,m_neirong,m_strPrice,m_1

      《图书馆管理系统》由会员桔****分享,可在线阅读,更多相关《图书馆管理系统》请在金锄头文库上搜索。

      点击阅读更多内容
    最新标签
    监控施工 信息化课堂中的合作学习结业作业七年级语文 发车时刻表 长途客运 入党志愿书填写模板精品 庆祝建党101周年多体裁诗歌朗诵素材汇编10篇唯一微庆祝 智能家居系统本科论文 心得感悟 雁楠中学 20230513224122 2022 公安主题党日 部编版四年级第三单元综合性学习课件 机关事务中心2022年全面依法治区工作总结及来年工作安排 入党积极分子自我推荐 世界水日ppt 关于构建更高水平的全民健身公共服务体系的意见 空气单元分析 哈里德课件 2022年乡村振兴驻村工作计划 空气教材分析 五年级下册科学教材分析 退役军人事务局季度工作总结 集装箱房合同 2021年财务报表 2022年继续教育公需课 2022年公需课 2022年日历每月一张 名词性从句在写作中的应用 局域网技术与局域网组建 施工网格 薪资体系 运维实施方案 硫酸安全技术 柔韧训练 既有居住建筑节能改造技术规程 建筑工地疫情防控 大型工程技术风险 磷酸二氢钾 2022年小学三年级语文下册教学总结例文 少儿美术-小花 2022年环保倡议书模板六篇 2022年监理辞职报告精选 2022年畅想未来记叙文精品 企业信息化建设与管理课程实验指导书范本 草房子读后感-第1篇 小数乘整数教学PPT课件人教版五年级数学上册 2022年教师个人工作计划范本-工作计划 国学小名士经典诵读电视大赛观后感诵读经典传承美德 医疗质量管理制度 2
    关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
    手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
    ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.