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

正文內(nèi)容

數(shù)據(jù)庫應(yīng)用系統(tǒng)課程設(shè)計論文-資料下載頁

2025-06-28 14:14本頁面
  

【正文】 ()。 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) { }}預(yù)訂入住界面的截圖及代碼:圖1預(yù)訂入住界面截圖public partial class yudingin : { protected void Page_Load(object sender, EventArgs e) { } protected void Button2_Click(object sender, EventArgs e) { string selectStr1 = insert into 客人(姓名,性別,證件類型,證件號碼,聯(lián)系電話) select 客人姓名,性別,證件類型,證件號碼,聯(lián)系電話 from 。 string selectStr2 = insert into 住店(客人姓名,證件號碼,房號,入住日期,預(yù)計離開日期) select 客人姓名,證件號碼,房號,入住日期,預(yù)計離開日期 from 。 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 (()) { ()。 SqlCommand updateCmd = new SqlCommand(updateStr, conn)。 ()。 } ()。 } private void delete() { string roomId = ()。 string selectStr = 。 selectStr = delete 預(yù)訂 where 房號 = 39。+ roomId +39。 SqlConnection conn = new SqlConnection([酒店客房管理系統(tǒng)ConnectionString].ConnectionString)。 SqlCommand selectCmd = new SqlCommand(selectStr, conn)。 ()。 ()。 ()。 } protected void Button3_Click(object sender, EventArgs e) { ()。 } }解除預(yù)訂房間頁面的截圖及代碼:圖1解除預(yù)訂界面的截圖public partial class jiechuyuding : { protected void Page_Load(object sender, EventArgs e) { } protected void Button2_Click(object sender, EventArgs e) { string roomId = ()。 string selectStr = 。 selectStr = delete 預(yù)訂 where 房號 = 39。 + roomId + 39。 SqlConnection conn = new SqlConnection([酒店客房管理系統(tǒng)ConnectionString].ConnectionString)。 SqlCommand selectCmd = new SqlCommand(selectStr, conn)。 ()。 ()。 ()。 = 成功取消預(yù)訂!。 } protected void Button3_Click(object sender, EventArgs e) { ()。 }}信息列表界面的截圖:圖1在住客人列表圖1預(yù)訂客人列表圖1歷史客人列表參考文獻[1] 張浦生,《SQL Server 2005 數(shù)據(jù)庫應(yīng)用技術(shù)》,清華大學(xué)出版社,2008[2] 黃樹生,《數(shù)據(jù)庫原理及應(yīng)用》,電子工業(yè)出版社,2008[3] 尹志宇、郭晴,《數(shù)據(jù)庫原理與應(yīng)用教程》,清華大學(xué)出版社,2010[4] 周新會,《ASP 通用模塊及典型系統(tǒng)開發(fā)》,人民郵電出版社,2006[5] 王峰,《》,清華大學(xué)出版社,2010心得體會經(jīng)過一周的努力,數(shù)據(jù)庫課程設(shè)計終于做完了。在這期間,我比在課堂上學(xué)到了更多,也更實用的東西。這次課程設(shè)計做得比較順利,沒有遇到很大的困難,只有一些小麻煩。比如,在后臺對Gridview控件進行數(shù)據(jù)綁定的時候總是不出結(jié)果,我翻看了課本,覺得自己寫得沒有錯。后來經(jīng)過調(diào)試發(fā)現(xiàn)在綁定數(shù)據(jù)庫之前,我使用Read()讀了一次數(shù)據(jù),這就是錯誤的所在。在這之前,我從來沒有遇到過這種情況,也沒有聽老師講過,所以在這個地方花費了不少的時間。要說我學(xué)到了什么,“山重水復(fù)疑無路,柳暗花明又一村”,是我最大的感受。任何問題都有解決的辦法,只要我們端正心態(tài),勇往直前,難關(guān)終究會被跨
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1