版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、更多相关参考论文设计文档资源请访问/lzj781219基于B/S的北京梦溪宾馆客房预约管理信息系统B/S Beijing Mengxi Hotel reservation information management system based on学部: 信息学部 专业: 计算机科学与技术 毕业设计(论文)完成时间: 自 2012 年 10 月 至 2013 年 4 月摘 要宾馆业是一个前景广阔而又竞争激烈的行业。改革开放以来,我国的宾馆业迅速发展,已经成为一个具有相当规模的产业。我国的宾馆业面临着前所未有的机遇和挑战,现在甚至还有一些宾馆还停留在由人工操
2、作和管理阶段,这样已经无法适应当前的发展趋势。因此,要想使宾馆的工作质量和效率提高,采用先进的计算机网络 通信技术改变宾馆业务模式,实现宾馆业务管理的自动化已经成为一种必然。北京梦溪宾馆是北京一家规模比较大的宾馆,通过调查,现在诸多宾馆宾馆的预定一般都是电话的模式进行的,这样存在很多的问题,比如遗忘记录等情况,而且查询都是靠手动查询很不方便,为了解决这个这些问题我开发了本系统本文以实际运用为开发背景,运用软件工程原理和开发方法,采用ASP.Net技术构建一个基于B/S模式的宾馆客房预定管理系统。整个开发过程首先对系统进行需求分析,得出系统主要功能,数据流图及数据字典。接着对系统进行总体设计和详
3、细设计。总体设计主要包括系统功能设计,系统总体结构设计,系统数据结构设计和系统安全设计等;详细设计主要包括系统数据库访问的实现,主要功能模块的具体实现,模块实现关键代码等。最后对系统进行了功能测试,并对测试结果进行了分析总结,得出系统的不足及需要改进的地方,为以后的系统维护提供了方便,同时也为今后开发类似系统提供了借鉴和帮助。本系统的开发使宾馆客房预定的管理更加方便快捷,同时也促使宾馆客房预定管理系统管理变的更加系统化、有序化。系统界面较友好,易于操作。关键词:宾馆,预定;ASP.Net技术;B/S本参考设计材料,包含项目源代码,设计说明书、任务书、报告书以及文献参考翻译等,完整的设计文件及源
4、代码,资料请联系68661508。索要或访问AbstractHotel industry is a broad prospect and competitive industry. Since the reform and opening up, Chinas hotel industry rapid development, has become a considerable scale of the industry. Chinas hotel industry is facing unprecedented opportuni
5、ties and challenges, now there are even some hotels also stay on the stage by the manual operation and management, such already can not adapt to the current development trend. , therefore, to raise the work quality and efficiency of the hotel, the use of advanced computer network communication techn
6、ology to change the hotel business model, realize the automation of hotel business management has become a necessity. MengXi hotel Beijing is a big hotel in Beijing, I found some problems through the holiday in the hotel, hotel reservation is usually the phone model, so there are a lot of problems,
7、such as forgetting, records, etc., and the query is by manual query is not very convenient, in order to solve these problems I developed this systemIn the development background of actual application, this paper USES the principle of software engineering and development method, using ASP.Net technol
8、ogy to build a based on B/S model of hotel reservation management system. Throughout the development process, first of all, on the system demand analysis, system main functions, data flow diagrams and data dictionary. Then the system overall design and detailed design. Overall design mainly includes
9、 the system function design, system overall structure design, system data structure design and system security design, etc.; The detailed design mainly includes the realization of the system database access, the concrete implementation of main function module, module implements the key code, etc.The
10、 development of this system to make hotel reservation management more convenient, also make hotel reservation management system management more systematic, ordering. System interface is friendly, easy to operate.Keywords:B/S、database、books management information system目 录绪论11系统需求分析11.1系统可行性分析11.2系统功
11、能简介12 系统总体设计12.1开发系统简介12.2系统需求概况22.3系统功能结构图22.4系统E-R图33 数据库设计33.1基本设计思路43.2物理设计44 详细设计84.1用户登录84.2管理注册104.3用户注册134.4房间管理164.5管理员登录194.6用户管理214.7修改密码23结论24参考文献25致谢.26更多相关参考论文设计文档资源请访问/lzj781219绪论 在互联网飞速发展的今天,一切的商业行为都是为了能够跟网络搭上边。这不仅是为了不落后于时代,不被主流所淘汰,更是为了更好的借助网络来实现更大的商业利益。随着更多的人接受电子商
12、务,以及年轻一代享受网络预订的方便、迅速,酒店宾馆行业也不例外的加入了电子商务时代的行列,这将是未来这个行业立足于众多竞争中不败之地的关键因素。目前绝大多数的中小型酒店、宾馆由于资金、人员等多方面的原因不易使用酒店管理类软件,全凭原始的手工记录管理、效率低、易出错;所以,要想提高劳动生产,降低成本,提高服务质量和管理水平,进而促进经济效益,必须借助计算机来进行现代化的信息管理,计算机酒店预约系统正式为了此设计的。此系统可适用于各种酒店使用,操作简单,灵活性好、系统安全性高、运行稳定,实是管理者的最佳选择。也极大的方便了客人的预订,使客人在短时间内即可预订心仪的房间。1 系统需求分析1.1系统可
13、行性分析 当今的社会形势已经是一个充满信息与数字的时代。对于宾馆、酒店业的特色经营和个性化管理日趋明显。管理趋于信息化、网络化、国际化的步伐日益加快,预示着传统宾馆、酒店正逐步向现代宾馆、酒店业的方向转化。现代宾馆、酒店业最显著的一个特征就是通过计算机网路对企业进行信息化管理。网络信息化管理系统以信息量大、数据准确、速度快、管理全面等特点,获得广大宾馆、酒店业管理者的一致认同,同时满足了客户通过网络服务,足不出户的预订房间、酒会等一系列的要求。并且,通过计算机网络对宾馆的管理,克服了人为管理中人为的因素所给企业带来的诸多不便,从而大大提高了酒店、宾馆的工作效率,进而为企业创造了更大的利润。1.
14、2系统功能简介用户部分:(1)用户注册(2)用户登录(3)查看房间基本信息(4)用户预约房间(5)查看预约信息(6)用户留言(7)修改密码管理员部分:(1)管理员登录(2)管理员权限:房间管理(添加/删除房间、编辑房间基本信息)、预约管理(查看/删除预约)、留言管理、评价管理、系统设置(房间类型管理、房间状态管理、管理员管理、用户管理)(3)修改密码2 系统总体设计2.1开发系统简介平台:Visual Studio 2010 SQL Server 2008软件:ASP.NET2.2系统需求概况系统面向的对象有两个:用户和管理员 客户需求如下:(1)客户可以通过该系统实现查看房间、预定房间、查看
15、留言、客户留言。(2)客户修改自己的密码和其他个人信息 系统管理员需求如下:(1)系统管理员可以对房间信息进行添加、删除、修改,查询。(2)系统管理员可以查看用户预约基本信息。2.3系统功能结构图图1 系统结构图2.4系统E-R图图2 E-R图3 数据库设计3.1基本设计思路(1)用户信息表(2)类型信息表(3)房间状态信息表(4)房间信息表(5)留言信息表(6)用户信息表(7)管理员信息表(8)预订信息表3.2物理设计表1用户信息表表2类型信息表表3房间状态信息表表4房间信息表表5留言信息表表6用户信息表表7管理员信息表表8预订信息表4 详细设计4.1部分设计代码4.1.1用户登录图3 用户
16、登录页面public partial class LoadingControl : System.Web.UI.UserControl DBClass dbObj = new DBClass(); UserInfoClass uiObj = new UserInfoClass(); protected void Page_Load(object sender, EventArgs e) if (!IsPostBack) lbValid.Text = new randomCode().RandomNum(4); if (SessionUID != null) tabLoad.Visible =
17、true; tabLoading.Visible = false; protected void btnLoad_Click(object sender, EventArgs e) SessionUID = null; SessionUsername = null; if (txtName.Text.Trim() = | txtPassword.Text.Trim() = ) Response.Write(alert(登录名和密码不能为空!);location=javascript:history.go(-1);); else if (txtValid.Text.Trim() = lbVali
18、d.Text.Trim() int P_Int_IsExists = uiObj.UserExists(txtName.Text.Trim(), txtPassword.Text.Trim(); if (P_Int_IsExists = 100) DataSet ds = uiObj.ReturnUIDs(txtName.Text.Trim(), txtPassword.Text.Trim(), UserInfo); SessionUID = Convert.ToInt32(ds.TablesUserInfo.Rows00.ToString(); SessionUsername = ds.Ta
19、blesUserInfo.Rows01.ToString(); Response.Redirect(index.aspx); else Response.Write(alert(您的登录有误,请核对后再重新登录!);location=javascript:history.go(-1);); 4.2用户管理图4 用户管理页面public partial class User : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (!IsPostBack) if (RequestID != null
20、) InitData(); protected void InitData() string id = RequestID.ToString(); try string SQL = select * from TB_UserInfo where ID= + id + ; DataTable dt = DBHelper.GetDataSet(SQL).Tables0; if (dt.Rows.Count 0) this.TextBox1.Text = dt.Rows0UserName.ToString(); this.TextBox2.Text = dt.Rows0PassWord.ToStri
21、ng(); this.TextBox3.Text = dt.Rows0XingMing.ToString(); this.TextBox4.Text = dt.Rows0Age.ToString(); this.TextBox5.Text = dt.Rows0Tel.ToString(); this.TextBox6.Text = dt.Rows0IDCard.ToString(); this.DropDownList1.SelectedItem.Text = dt.Rows0Sex.ToString(); catch protected void Button1_Click(object s
22、ender, EventArgs e) string SQL = ; bool iRet=false; if (RequestID != null) string id = RequestID.ToString(); SQL = update TB_UserInfo set UserName= + this.TextBox1.Text + ,PassWord= + this.TextBox2.Text + ,XingMing= + this.TextBox3.Text + ,Age= + this.TextBox4.Text + ,Tel= + this.TextBox5.Text + ,ID
23、Card= + this.TextBox6.Text + ,Sex= + this.DropDownList1.SelectedItem.Text + where ID= + id + ; iRet = DBHelper.ExecSql(SQL); else SQL = insert into TB_UserInfo(UserName,PassWord,XingMing,Age, Tel,IDCard,Sex) values( + this.TextBox1.Text + , + this.TextBox2.Text + , + this.TextBox3.Text + , + this.Te
24、xtBox4.Text + , + this.TextBox5.Text + , + this.TextBox6.Text + , + this.DropDownList1.SelectedItem.Text + ); iRet = DBHelper.ExecSql(SQL); if (iRet) Response.Write(alert(恭喜2您,?操作成功|!?);document.location=document.location;); else Response.Write(alert(对?不?起e,?操作失败!?);document.location=document.locati
25、on;); protected void Button2_Click(object sender, EventArgs e) this.TextBox1.Text = ; this.TextBox2.Text = ; this.TextBox3.Text = ; this.TextBox4.Text = ; this.TextBox5.Text = ; this.TextBox6.Text = ; 4.3用户注册图5 用户注册页面 public partial class UserReg : System.Web.UI.Page protected void Page_Load(object
26、sender, EventArgs e) if (!IsPostBack) if (RequestID != null) InitData(); protected void InitData() string id = RequestID.ToString(); try string SQL = select * from TB_UserInfo where ID= + id + ; DataTable dt = DBHelper.GetDataSet(SQL).Tables0; if (dt.Rows.Count 0) this.TextBox1.Text = dt.Rows0UserNa
27、me.ToString(); this.TextBox2.Text = dt.Rows0PassWord.ToString(); this.TextBox3.Text = dt.Rows0XingMing.ToString(); this.TextBox4.Text = dt.Rows0Age.ToString(); this.TextBox5.Text = dt.Rows0Tel.ToString(); this.TextBox6.Text = dt.Rows0IDCard.ToString(); this.DropDownList1.SelectedItem.Text = dt.Rows0
28、Sex.ToString(); catch protected void Button1_Click(object sender, EventArgs e) string SQL = ; bool iRet=false; if (RequestID != null) string id = RequestID.ToString(); SQL = update TB_UserInfo set UserName= + this.TextBox1.Text + ,PassWord= + this.TextBox2.Text + ,XingMing= + this.TextBox3.Text + ,A
29、ge= + this.TextBox4.Text + ,Tel= + this.TextBox5.Text + ,IDCard= + this.TextBox6.Text + ,Sex= + this.DropDownList1.SelectedItem.Text + where ID= + id + ; iRet = DBHelper.ExecSql(SQL); else SQL = insert into TB_UserInfo(UserName,PassWord,XingMing,Age, Tel,IDCard,Sex) values( + this.TextBox1.Text + ,
30、+ this.TextBox2.Text + , + this.TextBox3.Text + , + this.TextBox4.Text + , + this.TextBox5.Text + , + this.TextBox6.Text + , + this.DropDownList1.SelectedItem.Text + ); iRet = DBHelper.ExecSql(SQL); if (iRet) Response.Write(alert(恭喜你 操作成功!);document.location=document.location;); else Response.Write(
31、alert(对不起操作失败);document.location=document.location;); protected void Button2_Click(object sender, EventArgs e) Response.Redirect(Login.aspx); 4.4房间管理(预约房间)图6 房间管理页面 public partial class yuYue : System.Web.UI.Page public string fname; protected void Page_Load(object sender, EventArgs e) if (!IsPostBa
32、ck) if (RequestID != null) InitData(); protected void InitData() string id = RequestID.ToString(); try string SQL = select * from TB_Room where ID= + id + ; DataTable dt = DBHelper.GetDataSet(SQL).Tables0; if (dt.Rows.Count 0) this.TextBox1.Text = dt.Rows0RoomID.ToString(); this.TextBox2.Text = dt.R
33、ows0ZouMoJiaGe.ToString(); this.TextBox3.Text = dt.Rows0ZouZhongJiaGe.ToString(); this.TextBox4.Text = dt.Rows0ChuanXing.ToString(); this.TextBox5.Text = dt.Rows0MianJi.ToString(); this.TextBox6.Text = dt.Rows0Memo.ToString(); this.TextBox7.Text = dt.Rows0LeiXing.ToString(); this.TextBox8.Text = dt.
34、Rows0State.ToString(); fname = dt.Rows0Pic.ToString(); this.Image1.ImageUrl = fname; catch protected void Button1_Click(object sender, EventArgs e) string SQL = ; bool iRet=false; if (this.TextBox8.Text = 空?闲D) SQL = insert into TB_YuYue(RoomID,IDCard,Tel, ZhiFuFanShi,StartTime,EndTime,MeMo,UserName
35、) values( + this.TextBox1.Text + , + this.TextBox9.Text + , + this.TextBox10.Text + , + this.TextBox11.Text + , + this.TextBox12.Text + , + this.TextBox13.Text + , + this.TextBox14.Text + , + Sessionusername.ToString() + ); SQL = SQL + update TB_Room set State=预约? where RoomID= + this.TextBox1.Text
36、+ ; iRet = DBHelper.ExecSql(SQL); if (iRet) Response.Write(alert(恭喜2您,?操作成功|!?);document.location=document.location;); else Response.Write(alert(对?不?起e,?操作失败!?);document.location=document.location;); else Response.Write(alert(该?房?间?不?是?空?闲D状态?,?不?能预约?!?);document.location=document.location;); protec
37、ted void Button2_Click(object sender, EventArgs e) protected void Button2_Click1(object sender, EventArgs e) Response.Redirect(YuYueRoom_List.aspx); 4.5管理员登录(添加房间)图7 管理员登录页面protected void Button1_Click(object sender, EventArgs e) if (UploadFile.Value != null & UploadFile.Value != ) FileUpLoad(); str
38、ing SQL = ; bool iRet=false; if (RequestID != null) string id = RequestID.ToString(); SQL = update TB_Room set RoomID= + this.TextBox1.Text + ,ZouMoJiaGe= + this.TextBox2.Text + ,ZouZhongJiaGe= + this.TextBox3.Text + ,ChuanXing= + this.TextBox4.Text + ,MianJi= + this.TextBox5.Text + ,Memo= + this.Te
39、xtBox6.Text + ,LeiXing= + this.DropDownList1.SelectedItem.Text + ,State= + this.DropDownList2.SelectedItem.Text + ,Pic= + fname+ where ID= + id + ; iRet = DBHelper.ExecSql(SQL); else SQL = insert into TB_Room(RoomID,ZouMoJiaGe,ZouZhongJiaGe, ChuanXing,MianJi,Memo,LeiXing,State,Pic) values( + this.TextBox1.Text + , + this.TextBox2.Text + , + this.TextBox3.Text + , + this.TextBox4.Text + , + this.TextBox5.Text + , + this.TextBox6.Text + , + this.DropDownList1.SelectedItem.Text + , + this.DropDownList2.SelectedItem.Text + , + fna
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年购买决策分析师招聘面试参考题库及答案
- 2025年新媒体经理招聘面试题库及参考答案
- 2025年幸福管理专员招聘面试题库及参考答案
- 2025年数据库管理专员招聘面试参考题库及答案
- 2025年战略投资经理招聘面试参考题库及答案
- 铁路试验工程师考试题库及答案
- 2025年市场研究分析员招聘面试参考题库及答案
- 2025年外籍人才招聘专员招聘面试参考题库及答案
- 2025年Python工程师招聘面试题库及参考答案
- 2025年图书馆管理专员招聘面试参考题库及答案
- 2025宁夏回族自治区大学生乡村医生专项计划招聘工作人员13人考试笔试模拟试题及答案解析
- 学校食堂满意度测评及管理方案
- 2025安徽清水街道招聘就业专干6人笔试考试参考试题附答案解析
- 小学语文教师素养大赛知识素养试题
- 北京市海淀区2025-2026学年高三上学期期中地理试题 含解析
- 施工现场安全事故应急预案
- 可靠性工程师培训讲义
- 教科版五年级科学《光的反射现象》
- JCT2112-2012 塑料防护排水板
- 110kV线路运维方案
- 北京第十三中学分校2023-2024学年九年级上学期期中物理试卷
评论
0/150
提交评论