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

正文內(nèi)容

畢業(yè)設(shè)計-設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊設(shè)計與實現(xiàn)(已改無錯字)

2023-01-13 17:51:06 本頁面
  

【正文】 DataSet ds = (UP_H_DeviceCategory_GetModel, parameters, ds)。 if ([0]. 0) 22 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊設(shè)計與實現(xiàn) { if ([0].Rows[0][DeviceCategory].ToString() != ) { = ([0].Rows[0][DeviceCategory].ToString())。 } = [0].Rows[0][DeviceCategoryName].ToString()。 return model。 } else { return null。 } } /// summary /// 獲得數(shù)據(jù)列表 /// /summary public DataSet GetList(string strWhere) { StringBuilder strSql = new StringBuilder()。 (select DeviceCategory,DeviceCategoryName )。 ( FROM H_DeviceCategory )。 if (() != ) { ( where + strWhere)。 } return (())。 } /// summary /// 獲得前幾行數(shù)據(jù) /// /summary public DataSet GetList(int Top, string strWhere, string filedOrder) { StringBuilder strSql = new StringBuilder()。 (select )。 if (Top 0) { ( top + ())。 } ( DeviceCategory,DeviceCategoryName )。 ( FROM H_DeviceCategory )。 if (() != ) { ( where + strWhere)。 } ( order by + filedOrder)。 return (())。 } public string GetCount() { string sql = select count(*) from H_DeviceCategory。 DataTable dt = (()).Tables[0]。 return [0][0].ToString()。 } 第五章 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊的編碼與實現(xiàn) 23 /* /// summary public DataTable GetListPage(string where, int pageIndex, int pageSize, out int RecordCount, out int pageCount) { return (*, where, DeviceID, , pageIndex, pageSize, out RecordCount, out pageCount, null)。 } endregion 成員方法 } } (2) 設(shè)備種類管理 namespace { /// summary /// 數(shù)據(jù)訪問類 H_DeviceClassInfo。 /// /summary public class H_DeviceClassInfo { public H_DeviceClassInfo() { } region 成員方法 /// summary /// 是否存在該記錄 /// /summary public bool Exists(int DeviceClassID) { int rowsAffected。 SqlParameter[] parameters = { new SqlParameter(@DeviceClassID, ,4)}。 parameters[0].Value = DeviceClassID。 int result = (UP_H_DeviceClassInfo_Exists, parameters, out rowsAffected)。 if (result == 1) { return true。 } else { return false。 }} /// summary /// 增加一條數(shù)據(jù) /// /summary public int Add( model) { int rowsAffected。 SqlParameter[] parameters = { new SqlParameter(@DeviceClassID, ,4), new SqlParameter(@DeviceClassName, ,50), new SqlParameter(@DeviceCategory, ,4)}。 parameters[0].Direction = 。 parameters[1].Value = 。 parameters[2].Value = 。 (UP_H_DeviceClassInfo_ADD, parameters, out rowsAffected)。 24 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊設(shè)計與實現(xiàn) return (int)parameters[0].Value。 } /// summary /// 更新一條數(shù)據(jù) /// /summary public void Update( model) { int rowsAffected。 SqlParameter[] parameters = { new SqlParameter(@DeviceClassID, ,4), new SqlParameter(@DeviceClassName, ,50), new SqlParameter(@DeviceCategory, ,4)}。 parameters[0].Value = 。 parameters[1].Value = 。 parameters[2].Value = 。 (UP_H_DeviceClassInfo_Update, parameters, out rowsAffected)。 } /// summary /// 刪除一條數(shù)據(jù) /// /summary public void Delete(int DeviceClassID) { int rowsAffected。 SqlParameter[] parameters = { new SqlParameter(@DeviceClassID, ,4)}。 parameters[0].Value = DeviceClassID。 (UP_H_DeviceClassInfo_Delete, parameters, out rowsAffected)。 } /// summary /// 得到一個對象實體 /// /summary public GetModel(int DeviceClassID) { SqlParameter[] parameters = { new SqlParameter(@DeviceClassID, ,4)}。 parameters[0].Value = DeviceClassID。 model = new ()。 DataSet ds = (UP_H_DeviceClassInfo_GetModel, parameters, ds)。 if ([0]. 0) { if ([0].Rows[0][DeviceClassID].ToString() != ) { = ([0].Rows[0][DeviceClassID].ToString())。 } = [0].Rows[0][DeviceClassName].ToString()。 if ([0].Rows[0][DeviceCategory].ToString() != ) { = ([0].Rows[0][DeviceCategory].ToString())。 } return model。 } else { return null。 }} /// summary /// 獲得數(shù)據(jù)列表 第五章 設(shè)備管理系統(tǒng)中系統(tǒng)管理模塊的編碼與實現(xiàn) 25 /// /summary public DataSet GetList(string strWhere) { StringBuilder strSql = new StringBuilder()。 (select DeviceClassID,DeviceClassName,DeviceCategory )。 ( FROM H_DeviceClassInfo )。 if (() != ) { ( where + strWhere)。 } return (())。 } /// summary
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1