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

正文內容

sqlserver酒店客房管理系統(tǒng)設計說明書數(shù)據(jù)庫大作業(yè)課程設計說明書(含源文件)(編輯修改稿)

2025-02-26 08:58 本頁面
 

【文章內容簡介】 utDate)).()。 money = ((TextBox)[i].FindControl(txtPayMent)).()。 15 = update 住店 set 結賬離開日期 = 39。 + date + 39。, 應付金額 = 39。 + money + 39。 where 房號 = 39。 + roomId + 39。 ()。 } ()。 } protected void Button3_Click(object sender, EventArgs e) { ()。 } } 查看房間狀態(tài)的截圖及代碼: 圖 1房間狀態(tài)查看界面截圖 public partial class roomState : { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click1(object sender, EventArgs e) { = false。 string roomId = ()。 string sqlStr = select * from 房間 where 房號 = 39。 + roomId + 39。 SqlConnection conn = new SqlConnection([酒店客房管理系 16 統(tǒng) ConnectionString].ConnectionString)。 SqlCommand cmd = new SqlCommand(sqlStr, conn)。 ()。 SqlDataReader sdr = ()。 = sdr。 ()。 ()。 } protected void Button2_Click(object sender, EventArgs e) { ()。 } } 預訂房間頁面的代碼: public partial class reservation : { protected void Page_Load(object sender, EventArgs e) { string selectStr = 。 selectStr = Select * from 房間 where 房間狀態(tài) = 39???39。 。 SqlConnection conn = new SqlConnection([酒店客房管理系統(tǒng) ConnectionString].ConnectionString)。 SqlCommand selectCmd = new SqlCommand(selectStr, conn)。 ()。 SqlDataReader sdr = ()。 if (()) { ()。 ()。 } else { ()。 } ()。 } } 成功預訂房間的截圖及代碼: 17 圖 1預訂房間界面截圖 public partial class yudingRoom : { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection([酒店客房管理系 18 統(tǒng) ConnectionString].ConnectionString)。 SqlCommand insertCmd = new SqlCommand(insert into 預訂 (客人姓名 ,性別 ,房號 ,房間類型 ,價格 ,證件 類型 ,證件號碼 ,聯(lián)系電話 ,入住日期 ,預計離開日期 ) values(@name,@sex,@roomId,@roomType,@price,@cerType,@cerNum,@phoneNum,@inDate,@outDate), conn)。 (@name, , 15)。 (@sex, , 20)。 (@roomId, , 4)。 (@roomType, , 4)。 (@price, , 20)。 (@cerType, , 20)。 (@cerNum, , 20)。 (@phoneNum, , 20)。 (@inDate, , 20)。 (@outDate, , 20)。 [@name].Value = 。 [@sex].Value = 。 [@roomId].Value = 。 [@roomType].Value = 。 [@price].Value = 。 [@cerType].Value = 。 [@cerNum].Value = 。 [@phoneNum].Value = 。 [@inDate].Value = 。 [@outDate].Value = 。 ()。 int flag = ()。 if (flag 0) { = 成功預訂房間! 。 } else { = 預訂房間失敗,查看輸入是否正確! 。 } ()。 upDate()。 } private void upDate() { string roomId = ()。 19 string selectStr = 。 string updateStr = 。 selectStr = Select * from 房間 where 房號 = 39。 + roomId + 39。 updateStr = update 房間 set 房間狀態(tài) = 39。預訂 39。 where 房號 =39。 + roomId + 39。 SqlConnection conn = new SqlConnection([酒店客房管理系統(tǒng) ConnectionString].ConnectionString)。 SqlCommand selectCmd = new SqlCommand(selectStr, conn)。 ()。 SqlDataReader sdr = ()。 if (()) { ()。 SqlCommand updateCmd = new SqlCommand(updateStr, conn)。 ()。 } ()。 } protected void Button2_Click(object sender, EventArgs e) { ()。 } protected void txtCerType_TextChanged(object sender, EventArgs e) { } protected void txtCerNum_TextChanged(object sender, EventArgs e) { } } 預訂入住界面的截圖及代碼: 圖 1預訂入住界面截圖 public partial class yudingin : { protected void Page_Load(object sender, EventArgs e) { } protected void Button2_Click(object sender, EventArgs e) 20 { string selectStr1 = insert into 客人 (姓名 ,性別 ,證件類型 ,證件號碼 ,聯(lián)系電話 ) select 客人姓名 ,性別 ,證件類型 ,證件號碼 ,聯(lián)系電話 from 酒店客房管理系統(tǒng) . 。 string selectStr2 = insert into 住店 (客人姓名 ,證件號碼 ,房號 ,入住日期 ,預計離開日期 ) select 客人姓名 ,證件號碼 ,房號 ,入住日期 ,預計離開日期 from 酒店客房管理系統(tǒng) . 。 SqlConnection conn = new SqlConnection([酒店客房管理系統(tǒng) ConnectionString].ConnectionString)。 SqlCommand cmd1 = new SqlCommand(selectStr1, conn)。 SqlCommand cmd2 = new SqlCommand(selectStr2, conn)。 ()。 ()。 int flag = ()。 if (flag 0) { = 成功提交客人信息! 。 } else { = 提交客人信息失敗,查看輸入是否正確! 。 } ()。 upDate()。 delete()。 } private void upDate() { string roomId = ()。 string selectStr = 。 string updateStr = 。 selectStr = Select * from 房間 where 房號 = 39。 + roomId + 39。 updateStr = update 房間 set 房間狀態(tài) = 39。已住 39。 where 房號 =39。 + roomId + 39。 SqlConnection conn = new SqlConnection([酒店客房管理系統(tǒng) ConnectionString].ConnectionString)。 SqlCommand selectCmd = new SqlCommand(selectStr, conn)。 ()。 SqlDataReader sdr = ()。 if (()) { 21 ()。 SqlCommand updateCmd = new SqlCommand(updateStr, conn)。 ()。 } ()。 } private void delete() { string roomId = ()。 string selectStr = 。 selectStr = delete 預訂 where 房號 = 39。+ roomId +39。 SqlConnection conn = new SqlCo
點擊復制文檔內容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1