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

正文內(nèi)容

餐飲管理系統(tǒng)數(shù)據(jù)庫課程設(shè)計論文(文件)

2025-02-28 03:14 上一頁面

下一頁面
 

【正文】 { (數(shù)量不能為空 )。 SqlConnection conn = ()。 and diningTable=39。 ()。 } else { if ( == ) { (數(shù)量不能為空 )。 } else { SqlConnection conn = ()。+i +39。 + () + 39。 + (()) + 39。 + () + 39。 + () + 39。 GetData()。 private void formInvoicing_Load(object sender, EventArgs e) { // TODO: 這行代碼將數(shù)據(jù)加載到表 “”中。//將窗體標(biāo)題顯示當(dāng)前哪一桌要結(jié)賬 SqlConnection conn = ()。 DataSet ds = new DataSet()。 SqlCommand cmd = new SqlCommand(select sum(foodallprice) from GuestFood where DiningTable=39。//用 price接收總額 if (price == )//無消費情況下 { = 0。, conn)。 //菜品消費打九五折,包間不打折 } else { = true。 } else { if ( == ) { = 0。 return。 ()。 ()。39。 ()??蓪崿F(xiàn)對服務(wù)人員信息的查詢、增加、改變與刪除。 DataSet ds = new DataSet()。 txtID .Text = [1].()。 txtTel .Text = [5].()。 } private void btnSave_Click(object sender, EventArgs e)//單擊保存按鈕會執(zhí)行如下代碼 { SqlConnection conn = ()。, conn)。,CardNum=39。,Sex=39。,Tel=39。, conn)。 = true。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 BindData()。 } } private void btnDelete_Click(object sender, EventArgs e) { SqlConnection conn = ()。, conn)。 } 代碼不全,其他代碼見源代碼 數(shù)據(jù)庫管理模塊的設(shè)計 數(shù)據(jù)庫管理模塊主要用來對數(shù)據(jù)庫進行備份與回復(fù),防止機器在 down掉的時候數(shù)據(jù)信息會全部丟失,利用此功能可以大大減少損失,將數(shù)據(jù)恢復(fù)到最近記錄的數(shù)據(jù)備份。//將路徑字串和 \Data連接,為了將備 份文件存在 \data根目錄下 string sqltxt = BACKUP DATABASE restaurantManage TO Disk=39。 SqlCommand cmd = new SqlCommand(sqltxt, conn)。 } } catch (Exception ex) { (())。 strg += \Data。//sql語句用來執(zhí)行數(shù)據(jù)庫的恢復(fù) SqlConnection conn = ()。 if ((恢復(fù)成功 , 提示 , , ) == ) { ()。 30 程序質(zhì)量 代碼正確,質(zhì)量高;應(yīng)用知識點多,控件應(yīng)用不單一。 10 總分 五分制成績 評閱教師簽字: 年 月 日 。 30 工作量 程序功能完善,工作量飽滿 。 } } 程序設(shè)計方法課程設(shè)計評分表 評分項目 具 體 要 求 分值 評 分 選題質(zhì)量 選題符合要求,體現(xiàn)綜合訓(xùn)練基本要求;題 目難易適度。 SqlCommand cmd = new SqlCommand(str, conn)。//將備份文件路徑顯示到 txt2DataName .Text上 } private void btnRecovery_Click(object sender, EventArgs e) { try { string str = use master restore database restaurantManage from Disk=39。 } private void tabPage2_Click(object sender, EventArgs e)//單擊回復(fù)數(shù)據(jù)庫選項卡會執(zhí)行如下代碼 { string strg = ()。 ()。//aql語句,實現(xiàn)數(shù)據(jù)庫文件備份 SqlConnection conn = ()。//獲取啟動了可執(zhí)行文件的路徑 strg = (0, (\\))。 ()。 //將單擊選中的 datagridview控件上的一行內(nèi)容從數(shù)據(jù)表中刪除 SqlCommand cmd = new SqlCommand(delete from Waiter where ID=39。 = true。 ()。 + () + 39。 + () + 39。 + () + 39。 = true。 ()。 where ID=39。,Age=39。,WaiterNum=39。//執(zhí)行查詢語句,查看執(zhí)行語句后影響的行數(shù) if (i 0) { //根據(jù)各個文本框中輸入內(nèi)容更新數(shù)據(jù)庫中 waiter表 cmd = new SqlCommand(update Waiter set WaiterName=39。 SqlCommand cmd = new SqlCommand(select count(*) from Waiter where WaiterName=39。 = true。 cmbGender .Text = [3].()。 = [0]。 服務(wù)人員信息管理 窗體 服務(wù)人員信息管理 窗體的主要實現(xiàn)代碼如下: private void BindData()//將查詢信息綁定到 datagridview控件上 { SqlConnection conn = ()。 ()。 + name + 39。待用 39。 + name + 39。 return。 } else { = ((()) (price) * () (roomPrice )).ToString(C)。 } ()。 if (roomPrice == 0) { = true。//結(jié)賬按鈕不可用 } else//存在消費情況下執(zhí)行如下代碼 { cmd = new SqlCommand(select RoomPrice from Room where RoomName=39。, conn)。 = [0]。 + name + 39。 ()。 public string price。 ()。 + RName
點擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1