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

正文內容

餐飲管理系統(tǒng)實訓報告(編輯修改稿)

2024-08-30 07:27 本頁面
 

【文章內容簡介】 = [food]。 } }private void button1_Click(object sender, EventArgs e){{ ()。 string 1 = (INSERT INTO GuestFood (foodnum,foodname,foodsum,foodallprice,waitername,zhuotai,datatime) values (39。{0}39。,39。{1}39。,39。{2}39。,39。{3}39。,39。{4}39。,39。{5}39。,39。{6}39。), , , , ,)。 SqlCommand sql = new SqlCommand(1, con)。 ()。 (點菜成功!, 提示, , )。 showinf()。 ()。}{ ()。 string = (INSERT INTO tb_spend(foodname,roomName,spend,GuestName,zhangdanDate,waitername) values (39。{0}39。,39。{1}39。,39。{2}39。,39。{3}39。,39。{4}39。,39。{5}39。), , , , , )。 SqlCommand sql1 = new SqlCommand(, con)。 ()。 ()。} }點菜界面如圖: 消費結賬模塊設計 private void Form9_Load(object sender, EventArgs e) { ()。 = a。 string sqlstr = Data Source=E017。Initial Catalog=hotle。Integrated Security=True。 con = new SqlConnection(sqlstr)。()。 sda = new SqlDataAdapter(select * from GuestFood, con)。 ds = new DataSet()。 (ds)。 = [0]。 ()。 } private void button1_Click(object sender, EventArgs e) { ()。 string temp = (select sum(foodsum*foodallprice) from GuestFood where zhuotai=39。{0}39。, )。 SqlCommand cmd = new SqlCommand(temp, con)。 price = (())。 cmd = new SqlCommand(select roomBJF from Room where ID=39。 + + 39。, con)。 bjf = ().ToString()。 if (bjf == 0) { = price + *95% + + + bjf + = + (((price) * ())).ToString(C)。 } else { = price + *95% + + + bjf + = + (((price) * ()) + (bjf)).ToString(C)。 } ()。 } private void button2_Click(object sender, EventArgs e) { if ( == ) { (請付現(xiàn)金)。 } else { if (() 0) { (金額不夠)。 } else { ()。 string sql = update Room set roomZT=39。無人39。,GuestName=39。39。,zhangdanDate=39。39。,Num=39。39。,waiterName=39。39。 where ID=39。 + + 39。 SqlCommand sc = new SqlCommand(sql, con)。 ()。 string Num = (())。 if (Num == ) { (結賬成功)。 } ()。 } } ()。 string l = (delete from Guestfood where zhuotai= {0}, dataGridView1[6, ].())。 SqlCommand sql1 = new SqlCommand(l, con)。 ()。 ()。 } private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { if (( != 8 amp。amp。 !()) amp。amp。 != 13) { (請輸入數(shù)字)。 = true。 } } private void textBox1_TextChanged(object sender, EventArgs e) { = ((()) (price) * () (bjf)).ToString()。 }消費結賬界面如圖: 菜單添加模塊 private void Form10_Load(object sender, EventArgs e) { ()。 string sqlstr = Data Source=E017。Initial Catalog=hotle。Integrated Security=True。 con = new SqlConnection(sqlstr)。 ()。 sda = new SqlDataAdapter(select * from food, con)。 ds = new DataSet()。 n = (ds, food)。 = [food]。 int s = 0。 for (int i = 0。 i n。 i++) { if (i i + 1) { s = i。 } else { s = i + 1。 } } s = s + 1。 = 0 + ()。 ()。 } private void button1_Click(object sender, EventArgs e) { if ( == || == )
點擊復制文檔內容
范文總結相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1