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

正文內容

酒店管理系統(tǒng)_計算機應用專業(yè)畢業(yè)論文-資料下載頁

2024-08-26 19:44本頁面
  

【正文】 己對時間的把握不是非常地準確 ,如果是實際的開發(fā)過程那么我們將不能按時的交付產品 。 通過對這次開發(fā)過程中出現(xiàn)的問題和得到的教訓 ,明確了開發(fā)流程,知道了一個項目開發(fā)要經(jīng)過哪些程序。再就是讓我們知道了在開發(fā)過程中,每組的成員必須相互溝通 ,相互理解,為同一個目標而奮斗。 從不能溝通到互相理解 , 從不能合作 到 完成任務 。所以我們還必須具有很好的合作性,共同完成項目。 經(jīng)過這次開發(fā)任務的磨練 , 我們在 小組 合作 以及 與人溝通方面已經(jīng)有了很大的提高 , 相信這些提高在以后的生活 、 學習和工作中能給我們提供更多 的幫助。 在這次項目中了解到開發(fā)一個高效、質優(yōu)的項目必須具備:認真的進行需求分析、良好的團隊合作精神、程序模塊化、技術方案的正確制定、合理的分工、時間的合理調配等條件。 34 參考文獻 [1] 《數(shù)據(jù)庫系統(tǒng)概論》高等教育出版社 [2] 《數(shù)據(jù)庫訪問技術》高等教育出版 社 [3] 《 c. 程序設計語言》高等教育出版社 35 附錄 部分 關鍵 程序代碼 酒店系統(tǒng)超級類( ) using System。 using 。 using 。 using 。 using 。 using 。 using 。 using 。 namespace HotelCOM { public class HotelClass:ServicedComponent { //保存數(shù)據(jù)庫的連接字符串 windows身份驗證 private readonly string connectionString = Data Source=.。Initial Catalog=Hotel。Integrated Security=True。 protected SqlConnection ConnObject。 protected SqlCommand CmdObject。 protected SqlDataAdapter AdapterObject。 public HotelClass() { ConnObject = new SqlConnection(connectionString)。 } //執(zhí)行 Sql語句,如 Update、 Delete、 Insert語句,成功返回影響行數(shù)據(jù) public int ExecuteSql(string sSql) { CmdObject = new SqlCommand(sSql, ConnObject)。 try { ()。 int i = ()。 return i。 36 } catch (Exception ex) { throw new Exception()。 } finally { ()。 ()。 } } //執(zhí)行存在性查詢 SQL語句,如果不存在拋出異常 查找的值不存在 存在返回 id public string ExecuteSqlRead(string sSql) { SqlDataReader myReader。 CmdObject = new SqlCommand(sSql, ConnObject)。 try { ()。 myReader = ()。 if (()) { return myReader[0].ToString()。 } else { throw new Exception(查找的值不存在 )。 } } catch (Exception ex) { throw new Exception()。 } finally { ()。 ()。 } } //執(zhí)行返回數(shù)據(jù)集 DataSet的語句,失敗拋出異常 public DataSet ExecuteSqlDataSet(string sSql) { DataSet dsTemp。 try 37 { ()。 AdapterObject = new SqlDataAdapter(sSql, ConnObject)。 dsTemp = new DataSet(ds)。 (dsTemp)。 return dsTemp。 } catch (Exception ex) { throw new Exception()。 } finally { ()。 } } //執(zhí)行返回一個數(shù)值的查詢 SQL語句,如果不存在則拋出 “值不存在 ”異常 //如果存在則拋出成功返回查詢得到的值,出現(xiàn)其他異常值則直接拋出異常 public string ExecuteSqlValue(string sSql) { object oTemp。 CmdObject = new SqlCommand(sSql, ConnObject)。 try { ()。 oTemp = ()。 if ((oTemp, null)) { throw new Exception(值不存在 )。 } else { return ()。 } } catch (Exception ex) { throw new Exception()。 } finally { ()。 ()。 } 38 } //執(zhí)行返回任何類型的查詢 SQL語句,如果不存在則拋出 “值不存在 ”異常 //如果存在則拋出成功返回查詢得到的值,出現(xiàn)其他異常值則直接拋出異常 public object ExecuteSqlObject(string sSql) { object oTemp。 CmdObject = new SqlCommand(sSql, ConnObject)。 try { ()。 oTemp = ()。 if ((oTemp, null)) { throw new Exception(值不存在 )。 } else { return oTemp。 } } catch (Exception ex) { throw new Exception()。 } finally { ()。 ()。 } } public int ExecuteSqls(string[] Sqls) { int iLen。 SqlTransaction oSqlTrans。 CmdObject = new SqlCommand()。 iLen = 。 try { ()。 } catch (Exception ex) { throw new Exception()。 39 } oSqlTrans = ()。 try { = ConnObject。 = oSqlTrans。 for (int i = 0。 i iLen。 i++) { = Sqls[i]。 ()。 } ()。 return 1。 } catch (Exception ex) { ()。 throw new Exception()。 } finally { ()。 ()。 } } //獲取服務器時間 public DateTime getServerTime() { return 。 } //獲取隨機數(shù) public static string Number(int length) { string result = 。 random = new Random()。 for (int i = 0。 i length。 i++) { result += (10).ToString()。 } return resu
點擊復制文檔內容
法律信息相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1