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

正文內(nèi)容

數(shù)據(jù)庫(kù)課程設(shè)計(jì)--酒店管理信息系統(tǒng)-文庫(kù)吧資料

2025-08-13 06:54本頁(yè)面
  

【正文】 { AfxMessageBox(_T(讀取客房?jī)r(jià)格錯(cuò)誤!), MB_ICONEXCLAMATION)。 (, strQuery)。 strQuery = select price from roomtype where typename=39。 ((CComboBox*)GetDlgItem(IDD_ROOM_TYPE))GetLBText(iIndex, sType)。 // Get Room type int iIndex = ((CComboBox*)GetDlgItem(IDD_ROOM_TYPE))GetCurSel()。 return TRUE。 } ((CComboBox*)GetDlgItem(IDD_ROOM_TYPE))SetCurSel(iSel)。 if ( sType==m_sType ) iSel=i。 sType = ==VT_NULL?:(char*)(_bstr_t)Holder。 iiCount。 MoveFirst()。 (, strQuery)。 int iSel=0。 // Init Combobox _variant_t strQuery, Holder。 } else { // Update Dialog Caption SetWindowText(_T(修改客房信息))。 } MoveNext()。 // Get price to display if ( 0==i ) { Holder = GetCollect(price)。 i++) { Holder = GetCollect(typename)。 for (int i=0。 int iCount = GetRecordCount()。 strQuery = select * from roomtype。 if (m_bAppend) { // Update Dialog Caption SetWindowText(_T(添加客房信息))。 ((CEdit*)GetDlgItem(IDD_ROOM_POSITION))SetLimitText(20)。}BOOL CRoomDLG::OnInitDialog() { CDialog::OnInitDialog()。 pRefreshRoom(strQuery)。 } // Refresh Room List strQuery = select * from rooms。 if ( (, strQuery) ) AfxMessageBox(_T(修改記錄成功!), MB_ICONINFORMATION)。 \ where roomNo=39。, roomprice=+m_sPrice+, roommemo=39。, roomposition=39。 } else { strQuery = Update rooms set roomtype=39。 UpdateData(false)。 // Clear all input m_sNo=m_sType=m_sPosition=m_sPrice=m_sMemo=。)。, +m_sPrice+, 39。, 39。, 39。 } } if (m_bAppend)// Append Record { strQuery = insert rooms (roomNo, roomtype, roomposition, roomprice, roommemo) \ values (39。 if ( 0!=iCount ) { AfxMessageBox(_T(已經(jīng)存在此客房編號(hào)的記錄!), MB_ICONEXCLAMATION)。 (, strQuery)。 if (m_bAppend) { // Judge Room No is Unique strQuery = select * from rooms where roomNO=39。 } (%.2f, fPrice)。 if ( 0==fPrice ) { AfxMessageBox(_T(客房單價(jià):請(qǐng)輸入非零數(shù)字), MB_ICONEXCLAMATION)。 return。 if ( !=sWarning ) { sWarning += _T(不能為空)。 else if ( ==m_sPosition ) sWarning=_T(客房位置)。 // Make sure all needed info is available CString sWarning=。 ( )。 ( )。 DDX_CBString(pDX, IDD_ROOM_TYPE, m_sType)。 DDX_Text(pDX, IDD_ROOM_POSITION, m_sPosition)。 //{{AFX_DATA_MAP(CRoomDLG) DDX_Text(pDX, IDD_ROOM_MEMO, m_sMemo)。 m_sType = _T()。 m_sPosition = _T()。endif/////////////////////////////////////////////////////////////////////////////// CRoomDLG dialogCRoomDLG::CRoomDLG(CWnd* pParent /*=NULL*/) : CDialog(CRoomDLG::IDD, pParent){ //{{AFX_DATA_INIT(CRoomDLG) m_sMemo = _T()。 CDialog::OnOK()。 return。 return。 if ( 2 ) { AfxMessageBox(輸入密碼不正確\n三次輸入均不正確,請(qǐng)核對(duì)后再來(lái), MB_ICONEXCLAMATION)。 sPWD = ==VT_NULL?:(char*)(_bstr_t)Holder。 MoveFirst()。 return。 return。 if ( 2 ) { AfxMessageBox(沒(méi)有這個(gè)用戶\n三次輸入均不正確,請(qǐng)核對(duì)后再來(lái), MB_ICONEXCLAMATION)。 int iCount = GetRecordCount()。+m_sUSER+39。 } _variant_t Holder, strQuery。 if ( ==m_sUSER ) { AfxMessageBox(_T(請(qǐng)?zhí)顚?xiě)用戶名), MB_ICONEXCLAMATION)。 // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE}void CLoginDLG::OnOK() { // TODO: Add extra validation here // Check UserName Vadilaty UpdateData(true)。m_fMyFont, true)。 (180,華文彩云,NULL)。 ((CEdit*)GetDlgItem(IDC_LOGIN_PWD))SetLimitText(10)。 //}}AFX_DATA_MAP}BEGIN_MESSAGE_MAP(CLoginDLG, CDialog) //{{AFX_MSG_MAP(CLoginDLG) //}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CLoginDLG message handlersBOOL CLoginDLG::OnInitDialog() { CDialog::OnInitDialog()。 //{{AFX_DATA_MAP(CLoginDLG) DDX_Text(pDX, IDC_LOGIN_PWD, m_sPWD)。 m_sUSER = _T(Administrator)。九.程序源代碼include include include ifdef _DEBUGdefine new DEBUG_NEWundef THIS_FILEstatic char THIS_FILE[] = __FILE__。通過(guò)閱讀相關(guān)編程書(shū)籍,相關(guān)漂亮算法的學(xué)習(xí),多上網(wǎng)參與學(xué)術(shù)的研討等。另外,有部分功能如客戶端的系統(tǒng)沒(méi)有在自己預(yù)計(jì)想法實(shí)現(xiàn),如設(shè)計(jì)MFC界面,可以更人性化,還有一些算法等,這些不足請(qǐng)老師多多諒解。 pRefreshRoom(strQuery)。+m_sType+39。+m_sNo+39。 // Refresh Room _variant_t strQuery。 if ( !m_bTypeChecked ) m_sType = %。 return。 ( )。 return。amp。 // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE}void CCheckRoomDLG::OnOK() { UpdateData(true)。 } ((CComboBox*)GetDlgItem(IDC_CHECKROOM_TYPE))SetCurSel(0)。 ((CComboBox*)GetDlgItem(IDC_CHECKROOM_TYPE))InsertString(i+1, ==VT_NULL?:(char*)(_bstr_t)Holder)。 iiCount。 MoveFirst()。 (, strQuery)。 _variant_t strQuery, Holder。流程圖:初始化設(shè)備查詢方式和查詢內(nèi)容單擊“OK”進(jìn)行查詢顯示記錄給出提示NY代碼:BOOL CCheckRoomDLG::OnInitDialog() { CDialog::OnInitDialog()。在設(shè)備好查詢內(nèi)容和查詢方式后,可以單擊“OK”按鈕進(jìn)行查詢。名稱屬性說(shuō)明RefreshCheckOut成員方法查詢刷新CreateBookIn成員方法創(chuàng)建定房信息RefreshBookIn成員方法刷新定房信息RefreshRoom成員方法刷新客房信息RefreshRoomType成員方法刷新客房種類信息CreateRoom成員方法創(chuàng)建客房CreateRoomType成員方法創(chuàng)建客房種類五.?dāng)?shù)據(jù)庫(kù)表結(jié)構(gòu)設(shè)計(jì)create database Hotelgouse HotelgoCREATE TABLE user_Info ( user_ID varchar (15) NOT NULL , user_PWD varchar (10) , user_Des varchar (10) ) 其中user_ID:用戶名, user_PWD:用戶密碼CREATE TABLE bookin ( bookno varchar (14) NOT NULL , customname varchar (10) NOT NULL , customID varchar (18) NOT NULL , roomno varchar (10) NOT NULL , indate datetime NULL , discount float NULL , inmemo text , ) 其中bookno:訂房編號(hào),customname:顧客姓名,customID:身份證號(hào)碼,roomno:客房編號(hào),indate:入住日期,discount:折扣,inmemo:備注CREATE TABLE rooms ( roomNO varchar (10) NOT NULL , roomtype varchar (10) NOT NULL , roomposition varchar (20) , roomprice float , putup bit, roommemo text ) 其中roomNO:客房編號(hào),roomtype:客房種類,roomposition:客房位置,roomprice:?jiǎn)蝺r(jià),putup:是不是
點(diǎn)擊復(fù)制文檔內(nèi)容
電大資料相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1