freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

酒店管理系統(tǒng)計算機應(yīng)用專業(yè)畢業(yè)論文-閱讀頁

2025-07-12 22:12本頁面
  

【正文】 ull 酒店名稱(分店)nRoomCode varchar(15) not null 酒店名稱nRoomLevel tinyint not null 房間等級RoomTypes Table(房間類型表)字段 數(shù)據(jù)類型 是否為空值 描述nRoomLevel tinyint not null 房間等級cRoomType varchar(10) not null 房間等級名稱tDescription text not null 房間描述mRoomPrice money not null 房間價格Roomers Table(預(yù)定旅客信息表)字段 數(shù)據(jù)類型 是否為空值 描述cRoomerNo varchar(50) not null 旅客號碼cID varchar(25) not null 身份證號cSelectPass varchar(15) not null 預(yù)定查詢密碼cName varchar(20) not null 旅客名稱nAge tinyint not null 旅客年齡cGender varchar(4) not null 旅客性別cAdvice varchar(200) not null 要求與建議ScheduledRooms Table(旅客房間表)字段 數(shù)據(jù)類型 是否為空值 描述cRoomerNo varchar(50) not null 旅客號碼cHotel varchar(10) not null 酒店名稱nRoomLevel tinyint not null 房間等級nRoomCode varchar(8) not null 房間號碼dReserveTime datetime not null 預(yù)定入住日期dReturnTime datetime not null 預(yù)定退房日期nAmount money not null 要求與建議 26 Users Table(系統(tǒng)用戶信息表)字段 數(shù)據(jù)類型 是否為空值 描述cUserID varchar(10) not null 用戶 IDcName varchar(20) not null 用戶賬戶cPassword varchar(20) not null 用戶密碼nRolelLevel tinyint not null 身份等級cHotelState varchar(20) not null 所屬酒店的地區(qū)cHotelCity varchar(20) not null 所屬酒店的城市tDescription text null 個人其它信息以上 9 張表如其名字命名一般,對應(yīng)存儲著相應(yīng)的數(shù)據(jù),其字段的數(shù)據(jù)類型,及其描述讓人一幕了然。 系統(tǒng)解決方案系統(tǒng)解決方案名稱為 Hotel。 系統(tǒng)資源需求、配置要求 硬件環(huán)境: Pentium 4 以上 至少 512MB 內(nèi)存(建議使用 1G 內(nèi)存) 。 軟件環(huán)境:操作系統(tǒng):Windows 2022/XP Server防火墻:Netscreen服務(wù)器:WebLogic 數(shù)據(jù)庫:SQL Server2022通訊協(xié)議:TCP/IP瀏覽器: 以上版本 系統(tǒng)部署、維護要求Web 服務(wù)器需 以上,數(shù)據(jù)庫需要 SQL Server 2022,需要較新的技能知識。 33 第七章 項目開發(fā)總結(jié)本次項目完成了酒店管理系統(tǒng)的開發(fā)。通過對這次開發(fā)過程中出現(xiàn)的問題和得到的教訓(xùn),明確了開發(fā)流程,知道了一個項目開發(fā)要經(jīng)過哪些程序。從不能溝通到互相理解,從不能合作到完成任務(wù)。經(jīng)過這次開發(fā)任務(wù)的磨練,我們在小組合作以及與人溝通方面已經(jīng)有了很大的提高,相信這些提高在以后的生活、學(xué)習(xí)和工作中能給我們提供更多的幫助。 34 ? 參考文獻[1] 《數(shù)據(jù)庫系統(tǒng)概論》高等教育出版社[2] 《數(shù)據(jù)庫訪問技術(shù)》高等教育出版社[3] 《c. 程序設(shè)計語言》高等教育出版社 35 附錄部分關(guān)鍵程序代碼 酒店系統(tǒng)超級類()using System。using 。using 。using 。namespace HotelCOM{ public class HotelClass:ServicedComponent { //保存數(shù)據(jù)庫的連接字符串windows身份驗證 private readonly string connectionString = Data Source=.。Integrated Security=True。 protected SqlCommand CmdObject。 public HotelClass() { ConnObject = new SqlConnection(connectionString)。 try { ()。 return i。 } finally { ()。 } } //執(zhí)行存在性查詢SQL語句,如果不存在拋出異常 查找的值不存在 存在返回 id public string ExecuteSqlRead(string sSql) { SqlDataReader myReader。 try { ()。 if (()) { return myReader[0].ToString()。 } } catch (Exception ex) { throw new Exception()。 ()。 try 37 { ()。 dsTemp = new DataSet(ds)。 return dsTemp。 } finally { ()。 CmdObject = new SqlCommand(sSql, ConnObject)。 oTemp = ()。 } else { return ()。 } finally { ()。 } 38 } //執(zhí)行返回任何類型的查詢SQL語句,如果不存在則拋出“值不存在”異常 //如果存在則拋出成功返回查詢得到的值,出現(xiàn)其他異常值則直接拋出異常 public object ExecuteSqlObject(string sSql) { object oTemp。 try { ()。 if ((oTemp, null)) { throw new Exception(值不存在)。 } } catch (Exception ex) { throw new Exception()。 ()。 SqlTransaction oSqlTrans。 iLen = 。 } catch (Exception ex) { throw new Exception()。 try { = ConnObject。 for (int i = 0。 i++) { = Sqls[i]。 } ()。 } catch (Exception ex) { ()。 } finally { ()。 } } //獲取服務(wù)器時間 public DateTime getServerTime() { return 。 random = new Random()。 i length。 } return result。 char[] str = ()。 i 。 } else { Flag = 1。 } } if (Flag 0) { return true。 } } }} 用戶操作類()using System。using 。using 。using 。 private string _cName = N/A。 private byte _nRolelLevel = 0。 private string _cHotelCity = N/A。 public UserClass() { //構(gòu)造函數(shù) } public string CUserID { get { return _cUserID。 } } public string CName { get { return _cName。 } } public string CPassword { get { return _cPassword。 } } public byte NRolelLevel { get { return _nRolelLevel。 } } 42 public string CHotelState { get { return _cHotelState。 } } public string CHotelCity { get { return _cHotelCity。 } } public string TDescription { get { return _tDescription。 } } //用戶登錄 public string[] userLogin(string cUserID, string cPassword) { string[] user = new string[4]。 + cUserID + 39。 + cPassword + 39。 CmdObject = new SqlCommand(LoginSQLstring, ConnObject)。 myReader = ()。 user[1] = myReader[3].ToString()。
點擊復(fù)制文檔內(nèi)容
規(guī)章制度相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1