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

正文內容

基于coracle的考勤管理系統(tǒng)的設計與開發(fā)_(編輯修改稿)

2024-08-16 08:38 本頁面
 

【文章內容簡介】 sender, EventArgs e) { try { = [0].Cells[0].()。 = [0].Cells[1].()。 } catch { } } /// summary /// 編號文本框輸入格式檢查事件 /// /summary private void tbBH_TextChanged(object sender, EventArgs e) { if ( == 0) return。 if (!(, 1)) { = (0, 1)。 if ( 0) (, 0)。 } } 基于 C+Oracle 的考勤管理系統(tǒng)的設計與開發(fā) 第 21 頁 共 43 頁 /// summary /// 窗體按鈕是否禁用處理事件 /// /summary private void ChangeButton(string type) { if (type == XG) = !isbj。 else = isbj。 = isbj。 = !isbj。 = !isbj。 if ( == 0) { = false。 = false。 } else { = !isbj。 = !isbj。 } = !isbj。 = isbj。 = isbj。 } /// summary /// 增加 數據 事件 /// /summary private void btnZJ_Click(object sender, EventArgs e) { type = ZJ。 isbj = true。 = 。 = 。 基于 C+Oracle 的考勤管理系統(tǒng)的設計與開發(fā) 第 22 頁 共 43 頁 ChangeButton(ZJ)。 } /// summary /// 修改數據事件 /// /summary private void btnXG_Click(object sender, EventArgs e) { if ( == ) return。 type = XG。 isbj = true。 ChangeButton(XG)。 } /// summary /// 保存數據事件 /// /summary private void btnBC_Click(object sender, EventArgs e) { = ()。 = ()。 if ( == ) { (編號不能為空。 , 提示 , , )。 ()。 return。 } else { if (type != XG) { for (int i = 0。 i 。 ++i) if ([i][0].ToString() == ) { (該編號已存在。 , 提 示 , , )。 基于 C+Oracle 的考勤管理系統(tǒng)的設計與開發(fā) 第 23 頁 共 43 頁 ()。 return。 } } } if ( == ) { (類型不能為空。 , 提示 , , )。 ()。 return。 } string sql = 。 if (type == ZJ) sql = insert into KQLXB values(39。 + + 39。, 39。 + + 39。)。 else if (type == XG) sql = update KQLXB set LX = 39。 + + 39。 where BH = 39。 + + 39。 else return。 if ((sql) 0) { if (type == ZJ) { (, )。 = table。 [ 1].Selected = true。 (添加成功。 , 提示 , , )。 } else { for (int i = 0。 i 。 ++i) if ([i][0].ToString() == [0].Cells[0].()) 基于 C+Oracle 的考勤管理系統(tǒng)的設計與開發(fā) 第 24 頁 共 43 頁 { [i][1] = 。 = table。 break。 } (修改成功。 , 提示 , , )。 } type = 。 isbj = false。 ChangeButton(BC)。 } else { if (type == ZJ) (添加失敗,請重新添加。 , 提示 , , )。 else (修改失敗,請重新修改。 , 提示 , , )。 } } /// summary /// 取消事件 /// /summary private void btnQX_Click(object sender, EventArgs e) { try { = [0].Cells[0].()。 = [0].Cells[1].()。 } catch { } type = 。 isbj = false。 基于 C+Oracle 的考勤管理系統(tǒng)的設計與開發(fā) 第 25 頁 共 43 頁 ChangeButton(QX)。 } /// summary /// 刪除數據事件 /// /summary private void btnSC_Click(object sender, EventArgs e) { if ((確定要刪除? , 提示 , , ).ToString() == Yes) { string sql = delete from KQLXB where BH = 39。 + + 39。 if ((sql) 0) { for (int i = 0。 i 。 ++i) if ([i][0].ToString() == [0].Cells[0].()) { (i)。 = table。 break。 } if ( 0) { if ( = 0) [ 1].Selected = true。 = [0].Cells[0].()。 = [0].Cells[1].()。 } ChangeButton(SC)。 (刪除成功。 , 提示 , , )。 } 基于 C+Oracle 的考勤管理系統(tǒng)的設計與開發(fā) 第 26 頁 共 43 頁 else (刪除失敗,請重新修改。 , 提示 , , )。 } } /// summary /// 退出事件 /// /summary private void btnTC_Click(object sender, EventArgs e) { Close()。 } /// summary /// 退出判斷事件 /// /summary private void frm_yglx_FormClosing(object sender, FormClosingEventArgs e) { if (isbj) { (請先關閉編輯。 , 提示 , , )。 = true。 } } /// summary /// 退出后處理主界面變量事件 /// /summary private void frm_kqlx_FormClosed(object sender, FormClosedEventArgs e) { = null。 } 4. 員工考勤信息錄入模塊 功能: 操作當前考勤 信息 表,并可以進行考勤 信息 增、改、刪的操作。 // 自定義變量 private string type = 。 // 按鈕禁用判斷標記 基于 C+Oracle 的考勤管理系統(tǒng)的設計與開發(fā) 第 27 頁 共 43 頁 private DataTable table1 = null。 // 封裝數據 private DataTable table2 = null。 // 封裝數據 private DataTable table3 = null。 // 封裝數據 private bool isbj = false。 // 狀態(tài)標記 /// summary /// 窗體加載事件 /// /summary private void frm_kqgl_Load(object sender, EventArgs e) { type = JZ。 table2 = (select BH, XM from YGB)。 foreach (DataRow row in ) (row[BH].ToString() + + row[XM].ToString())。 table3 = (select * from KQLXB)。 foreach (DataRow row in ) (row[BH].ToString() + + row[LX].ToString())。 string time = + + + 月 + 。 table1 = (select KQRQ, YGBH, XM, LXBH, LX, BZ from KQLXB, YGB, KQGLB where YGBH= and LXBH= and KQRQ=39。 + time + 39。)。 BindData()。 type = 。 ChangeInfo()。 } /// summary /// 綁定數據 /// /summary private void BindData() { int count = 。 for (int i = 0。 i count。 ++i) (0)。 foreach (DataRow row in ) { ()。 基于 C+Oracle 的考勤管理系統(tǒng)的設計與開發(fā) 第 28 頁 共 43 頁 [
點擊復制文檔內容
研究報告相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1