




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、更多相關(guān)參考論文設(shè)計文檔資源請訪問/lzj781219基于B/S的北京夢溪賓館客房預約管理信息系統(tǒng)B/S Beijing Mengxi Hotel reservation information management system based on學部: 信息學部 專業(yè): 計算機科學與技術(shù) 畢業(yè)設(shè)計(論文)完成時間: 自 2012 年 10 月 至 2013 年 4 月摘 要賓館業(yè)是一個前景廣闊而又競爭激烈的行業(yè)。改革開放以來,我國的賓館業(yè)迅速發(fā)展,已經(jīng)成為一個具有相當規(guī)模的產(chǎn)業(yè)。我國的賓館業(yè)面臨著前所未有的機遇和挑戰(zhàn),現(xiàn)在甚至還有一些賓館還停留在由人工操
2、作和管理階段,這樣已經(jīng)無法適應當前的發(fā)展趨勢。因此,要想使賓館的工作質(zhì)量和效率提高,采用先進的計算機網(wǎng)絡(luò) 通信技術(shù)改變賓館業(yè)務(wù)模式,實現(xiàn)賓館業(yè)務(wù)管理的自動化已經(jīng)成為一種必然。北京夢溪賓館是北京一家規(guī)模比較大的賓館,通過調(diào)查,現(xiàn)在諸多賓館賓館的預定一般都是電話的模式進行的,這樣存在很多的問題,比如遺忘記錄等情況,而且查詢都是靠手動查詢很不方便,為了解決這個這些問題我開發(fā)了本系統(tǒng)本文以實際運用為開發(fā)背景,運用軟件工程原理和開發(fā)方法,采用ASP.Net技術(shù)構(gòu)建一個基于B/S模式的賓館客房預定管理系統(tǒng)。整個開發(fā)過程首先對系統(tǒng)進行需求分析,得出系統(tǒng)主要功能,數(shù)據(jù)流圖及數(shù)據(jù)字典。接著對系統(tǒng)進行總體設(shè)計和詳
3、細設(shè)計。總體設(shè)計主要包括系統(tǒng)功能設(shè)計,系統(tǒng)總體結(jié)構(gòu)設(shè)計,系統(tǒng)數(shù)據(jù)結(jié)構(gòu)設(shè)計和系統(tǒng)安全設(shè)計等;詳細設(shè)計主要包括系統(tǒng)數(shù)據(jù)庫訪問的實現(xiàn),主要功能模塊的具體實現(xiàn),模塊實現(xiàn)關(guān)鍵代碼等。最后對系統(tǒng)進行了功能測試,并對測試結(jié)果進行了分析總結(jié),得出系統(tǒng)的不足及需要改進的地方,為以后的系統(tǒng)維護提供了方便,同時也為今后開發(fā)類似系統(tǒng)提供了借鑒和幫助。本系統(tǒng)的開發(fā)使賓館客房預定的管理更加方便快捷,同時也促使賓館客房預定管理系統(tǒng)管理變的更加系統(tǒng)化、有序化。系統(tǒng)界面較友好,易于操作。關(guān)鍵詞:賓館,預定;ASP.Net技術(shù);B/S本參考設(shè)計材料,包含項目源代碼,設(shè)計說明書、任務(wù)書、報告書以及文獻參考翻譯等,完整的設(shè)計文件及源
4、代碼,資料請聯(lián)系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系統(tǒng)需求分析11.1系統(tǒng)可行性分析11.2系統(tǒng)功
11、能簡介12 系統(tǒng)總體設(shè)計12.1開發(fā)系統(tǒng)簡介12.2系統(tǒng)需求概況22.3系統(tǒng)功能結(jié)構(gòu)圖22.4系統(tǒng)E-R圖33 數(shù)據(jù)庫設(shè)計33.1基本設(shè)計思路43.2物理設(shè)計44 詳細設(shè)計84.1用戶登錄84.2管理注冊104.3用戶注冊134.4房間管理164.5管理員登錄194.6用戶管理214.7修改密碼23結(jié)論24參考文獻25致謝.26更多相關(guān)參考論文設(shè)計文檔資源請訪問/lzj781219緒論 在互聯(lián)網(wǎng)飛速發(fā)展的今天,一切的商業(yè)行為都是為了能夠跟網(wǎng)絡(luò)搭上邊。這不僅是為了不落后于時代,不被主流所淘汰,更是為了更好的借助網(wǎng)絡(luò)來實現(xiàn)更大的商業(yè)利益。隨著更多的人接受電子商
12、務(wù),以及年輕一代享受網(wǎng)絡(luò)預訂的方便、迅速,酒店賓館行業(yè)也不例外的加入了電子商務(wù)時代的行列,這將是未來這個行業(yè)立足于眾多競爭中不敗之地的關(guān)鍵因素。目前絕大多數(shù)的中小型酒店、賓館由于資金、人員等多方面的原因不易使用酒店管理類軟件,全憑原始的手工記錄管理、效率低、易出錯;所以,要想提高勞動生產(chǎn),降低成本,提高服務(wù)質(zhì)量和管理水平,進而促進經(jīng)濟效益,必須借助計算機來進行現(xiàn)代化的信息管理,計算機酒店預約系統(tǒng)正式為了此設(shè)計的。此系統(tǒng)可適用于各種酒店使用,操作簡單,靈活性好、系統(tǒng)安全性高、運行穩(wěn)定,實是管理者的最佳選擇。也極大的方便了客人的預訂,使客人在短時間內(nèi)即可預訂心儀的房間。1 系統(tǒng)需求分析1.1系統(tǒng)可
13、行性分析 當今的社會形勢已經(jīng)是一個充滿信息與數(shù)字的時代。對于賓館、酒店業(yè)的特色經(jīng)營和個性化管理日趨明顯。管理趨于信息化、網(wǎng)絡(luò)化、國際化的步伐日益加快,預示著傳統(tǒng)賓館、酒店正逐步向現(xiàn)代賓館、酒店業(yè)的方向轉(zhuǎn)化?,F(xiàn)代賓館、酒店業(yè)最顯著的一個特征就是通過計算機網(wǎng)路對企業(yè)進行信息化管理。網(wǎng)絡(luò)信息化管理系統(tǒng)以信息量大、數(shù)據(jù)準確、速度快、管理全面等特點,獲得廣大賓館、酒店業(yè)管理者的一致認同,同時滿足了客戶通過網(wǎng)絡(luò)服務(wù),足不出戶的預訂房間、酒會等一系列的要求。并且,通過計算機網(wǎng)絡(luò)對賓館的管理,克服了人為管理中人為的因素所給企業(yè)帶來的諸多不便,從而大大提高了酒店、賓館的工作效率,進而為企業(yè)創(chuàng)造了更大的利潤。1.
14、2系統(tǒng)功能簡介用戶部分:(1)用戶注冊(2)用戶登錄(3)查看房間基本信息(4)用戶預約房間(5)查看預約信息(6)用戶留言(7)修改密碼管理員部分:(1)管理員登錄(2)管理員權(quán)限:房間管理(添加/刪除房間、編輯房間基本信息)、預約管理(查看/刪除預約)、留言管理、評價管理、系統(tǒng)設(shè)置(房間類型管理、房間狀態(tài)管理、管理員管理、用戶管理)(3)修改密碼2 系統(tǒng)總體設(shè)計2.1開發(fā)系統(tǒng)簡介平臺:Visual Studio 2010 SQL Server 2008軟件:ASP.NET2.2系統(tǒng)需求概況系統(tǒng)面向的對象有兩個:用戶和管理員 客戶需求如下:(1)客戶可以通過該系統(tǒng)實現(xiàn)查看房間、預定房間、查看
15、留言、客戶留言。(2)客戶修改自己的密碼和其他個人信息 系統(tǒng)管理員需求如下:(1)系統(tǒng)管理員可以對房間信息進行添加、刪除、修改,查詢。(2)系統(tǒng)管理員可以查看用戶預約基本信息。2.3系統(tǒng)功能結(jié)構(gòu)圖圖1 系統(tǒng)結(jié)構(gòu)圖2.4系統(tǒng)E-R圖圖2 E-R圖3 數(shù)據(jù)庫設(shè)計3.1基本設(shè)計思路(1)用戶信息表(2)類型信息表(3)房間狀態(tài)信息表(4)房間信息表(5)留言信息表(6)用戶信息表(7)管理員信息表(8)預訂信息表3.2物理設(shè)計表1用戶信息表表2類型信息表表3房間狀態(tài)信息表表4房間信息表表5留言信息表表6用戶信息表表7管理員信息表表8預訂信息表4 詳細設(shè)計4.1部分設(shè)計代碼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狀態(tài)?,?不?能預約?!?);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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 西藏取水收費管理辦法
- 異地辦公團隊管理辦法
- 移動推車定置管理辦法
- 萊蕪瓷器修復培訓課件
- 高三上期末數(shù)學試卷
- 高考模擬感人數(shù)學試卷
- 定西市歷年中考數(shù)學試卷
- 德陽市期末高二數(shù)學試卷
- 2025年03月浙江紹興嵊州市婦幼保健院第一次招聘編外合同制人員12人筆試歷年專業(yè)考點(難、易錯點)附帶答案詳解
- 2025至2030打印機市場行業(yè)市場深度研究與戰(zhàn)略咨詢分析報告
- 七年級下冊英語語法填空專項訓練100題含答案5篇
- 租房合同可打印版
- 2024年xx中學學生校服選用采購實施方案
- DL∕T 2622-2023 1000kV高壓并聯(lián)電抗器局部放電現(xiàn)場測量技術(shù)導則
- 農(nóng)活承攬合同
- JT-T-1270.3-2019公路橋梁梳齒板伸縮裝置第3部分:整體錨固式伸縮裝置
- 廣東省茂名市2023-2024學年八年級下學期期末數(shù)學試題
- 遼寧省沈陽沈河區(qū)七校聯(lián)考2024屆物理八下期末考試試題及答案解析
- DZ∕T 0221-2006 崩塌、滑坡、泥石流監(jiān)測規(guī)范(正式版)
- 小學英語祈使句練習題
- 1例2型糖尿病酮癥酸中毒伴心衰患者的護理
評論
0/150
提交評論