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

正文內容

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

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