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

正文內(nèi)容

基于c#+oracle的考勤管理系統(tǒng)的設(shè)計與開發(fā)_-文庫吧

2025-06-07 08:38 本頁面


【正文】 ventArgs e) { table = (select * from YGB)。 = table。 ChangeButton(JZ)。 } /// summary /// 數(shù)據(jù)表行選擇更改 事件 /// /summary private void dgvYG_SelectionChanged(object sender, EventArgs e) { try { = [0].Cells[0].()。 = [0].Cells[1].()。 = [0].Cells[2].()。 = [0].Cells[3].()。 } 基于 C+Oracle 的考勤管理系統(tǒng)的設(shè)計與開發(fā) 第 13 頁 共 43 頁 catch { } } /// summary /// 窗體按鈕是否禁用處理事件 /// /summary private void ChangeButton(string type) { if (type == XG) = !isbj。 else = isbj。 = isbj。 = isbj。 = isbj。 = !isbj。 = !isbj。 if ( == 0) { = false。 = false。 } else { = !isbj。 = !isbj。 } = !isbj。 = isbj。 = isbj。 } /// summary /// 編號文本框輸入格式檢查 事件 /// /summary private void tbBH_TextChanged(object sender, EventArgs e) { if ( == 0) return。 基于 C+Oracle 的考勤管理系統(tǒng)的設(shè)計與開發(fā) 第 14 頁 共 43 頁 if (!(, 1)) { = (0, 1)。 if ( 0) (, 0)。 } } /// summary /// 判斷是否 清空文本框 數(shù)據(jù) 事件 /// /summary private void btnZJ_Click(object sender, EventArgs e) { type = ZJ。 isbj = true。 = 。 = 。 = 男 。 = 。 ChangeButton(ZJ)。 } /// summary /// 修改數(shù)據(jù) 事件 /// /summary private void btnXG_Click(object sender, EventArgs e) { if ( == ) return。 type = XG。 isbj = true。 ChangeButton(XG)。 } /// summary 基于 C+Oracle 的考勤管理系統(tǒng)的設(shè)計與開發(fā) 第 15 頁 共 43 頁 /// 保存 數(shù)據(jù)事件 /// /summary private void btnBC_Click(object sender, EventArgs e) { = ()。 = ()。 = ()。 if ( == ) { (編號不能為空。 , 提示 , , )。 ()。 return。 } else if ( 8) { (編號長度不能少于位。 , 提示 , , )。 ()。 return。 } else { if (type != XG) { for (int i = 0。 i 。 ++i) if ([i][0].ToString() == ) { (該編號已存在。 , 提示 , , )。 ()。 return。 } } } if ( == ) { (姓名不能為空。 , 提示 , , )。 基于 C+Oracle 的考勤管理系統(tǒng)的設(shè)計與開發(fā) 第 16 頁 共 43 頁 ()。 return。 } string sql = 。 if (type == ZJ) sql = insert into YGB values(39。 + + 39。, 39。 + + 39。, 39。 + + 39。, 39。 + + 39。)。 else if (type == XG) sql = update YGB set XM = 39。 + + 39。, XB = 39。 + + 39。, BM = 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].()) { [i][1] = 。 [i][2] = 。 [i][3] = 。 = table。 break。 } (修改成功。 , 提示 , , 基于 C+Oracle 的考勤管理系統(tǒng)的設(shè)計與開發(fā) 第 17 頁 共 43 頁 )。 } 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].()。 = [0].Cells[2].()。 = [0].Cells[3].()。 } catch { } type = 。 isbj = false。 ChangeButton(QX)。 } /// summary 基于 C+Oracle 的考勤管理系統(tǒng)的設(shè)計與開發(fā) 第 18 頁 共 43 頁 /// 刪除數(shù)據(jù) 事件 /// /summary private void btnSC_Click(object sender, EventArgs e) { if ((確定要刪除? , 提示 , , ).ToString() == Yes) { string sql = delete from YGB 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].()。 = [0].Cells[2].()。 = [0].Cells[3].()。 } ChangeButton(SC)。 (刪除成功。 , 提示 , , )。 } else (刪除失敗,請重新修改。 , 提示 , , )。 基于 C+Oracle 的考勤管理系統(tǒng)的設(shè)計與開發(fā) 第 19 頁 共 43 頁 } } /// summary /// 退出 事件 /// /summary private void btnTC_Click(object sender, EventArgs e) { Close()。 } /// summary /// 退出判斷事件 /// /summary private void frm_ygxx_FormClosing(object sender, FormClosingEventArgs e) { if (isbj) { (請先關(guān)閉編輯。 , 提示 , , )。 = true。 } } /// summary /// 退出 后處理主界面變量 事件 /// /summary private void frm_ygxx_FormClosed(object sender, FormClosedEventArgs e) { = null。 } 3. 考勤 類型管理 模塊 功能: 操作 當前 考勤類型 表,并可以進行 考勤類型 增 、 改 、 刪的操作。 // 自定義變量 private string type = 。 // 按鈕禁用判斷標記 private DataTable table = null。 // 封裝數(shù)據(jù) private bool isbj = false。 // 狀態(tài)標記 基于 C+Oracle 的考勤管理系統(tǒng)的設(shè)計與開發(fā) 第 20 頁 共 43 頁 /// summary /// 窗體加載事件 /// /summary private void frm_kqlx_Load(object sender, EventArgs e) { table = (select * from KQLXB)。 = table。 ChangeButton(JZ)。 } /// summary /// 數(shù)據(jù)表行選擇更改事件 /// /summary private void dgvKQ_SelectionChanged(object
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1