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

正文內(nèi)容

工資管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)數(shù)據(jù)庫(kù)原理及應(yīng)用課程設(shè)計(jì)報(bào)告-資料下載頁(yè)

2025-08-03 03:58本頁(yè)面
  

【正文】 on as 39。民族39。,employeeMarriage as 39。婚姻狀況39。,employeeDuty as 39。擔(dān)任職務(wù)39。,employeePhone as 39。聯(lián)系電話39。,employeeAccession as 39。就職日期39。 from tb_employee。 (dgvEmployee, SQLStr)。//將查詢(xún)信息綁定到DataGridView控件 } else { string strsql =//創(chuàng)建查詢(xún)字符串 select ID as 39。編號(hào)39。,employeeID as 39。員工編號(hào)39。,employeeName as 39。員工姓名39。,employeeSex as 39。員工性別39。,employeeDept as 39。所屬部門(mén)39。,employeeBirthday as 39。員工生日39。,employeeNation as 39。民族39。,employeeMarriage as 39?;橐鰻顩r39。,employeeDuty as 39。擔(dān)任職務(wù)39。,employeePhone as 39。聯(lián)系電話39。,employeeAccession as 39。就職日期39。 from tb_employee where employeeDept=39。+str+39。 (dgvEmployee, strsql)。//將查詢(xún)信息綁定到DataGridView控件 [0].Width = 40。//定義數(shù)據(jù)列寬度 [1].Width = 80。//定義數(shù)據(jù)列寬度 } } private void toolStripLabel1_Click(object sender, EventArgs e) { frmAddEmployee addemployee = new frmAddEmployee()。//創(chuàng)建添加員工信息窗體對(duì)象 ()。//顯示模式窗體 } private void dgvEmployee_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if ( == 1) { (請(qǐng)選擇要修改的數(shù)據(jù), 提示,//彈出消息對(duì)話框 , )。 return。//退出事件 } else { string YGName = [2].()。//獲取員工名稱(chēng) frmEmployeeInfo info = new frmEmployeeInfo()。//創(chuàng)建員工信息窗體對(duì)象 = YGName。//為字段賦值 = [1].()。//為字段賦值 ()。//顯示模式對(duì)話框 } } private void dgvEmployee_Click(object sender, EventArgs e) { if ( 0) { string YGName = [1].()。//得到員工編號(hào) (YGName, pictureBox1)。//顯示圖片信息 } } private void frmEmployee_Activated(object sender, EventArgs e) { ()。//清空所有節(jié)點(diǎn) frmEmployee_Load(sender, e)。//執(zhí)行窗體Load事件 } private void toolStripLabel2_Click(object sender, EventArgs e) { if ( == 0) { (//彈出消息對(duì)話框 請(qǐng)選擇要修改的數(shù)據(jù), 提示, , )。 return。//退出事件 } else { string YGName = //得到員工姓名 [2].()。 frmEmployeeInfo info = new frmEmployeeInfo()。//創(chuàng)建員工信息窗體對(duì)象 = YGName。//為字段賦值 = [1].()。//為字段賦值 ()。//顯示模式窗體 } } private void toolStripLabel3_Click(object sender, EventArgs e) { try { if ( == 0) { (請(qǐng)選擇要?jiǎng)h除的數(shù)據(jù),//彈出消息對(duì)話框 提示, , )。 return。//退出事件 } else { string YGID = [1].()。//得到ID string DelSql =//創(chuàng)建SQL字符串 delete from tb_employee where employeeID=39。 + YGID + 39。 (DelSql)。//刪除員工信息 (YGID)。//刪除員工信息 (刪除成功, 提示,//彈出消息對(duì)話框 , )。 } } catch//捕獲異常 { (刪除操作失敗, 提示,//彈出消息對(duì)話框 , )。 } } }}添加員工界面如圖84.圖84 添加員工界面界面代碼如下: public partial class frmAddEmployee : Form { public frmAddEmployee() { InitializeComponent()。 } DBOperate operate = new DBOperate()。//創(chuàng)建數(shù)據(jù)庫(kù)操作對(duì)象 private void toolStripLabel4_Click(object sender, EventArgs e) { ()。//關(guān)閉窗體 } private void button1_Click(object sender, EventArgs e) { try { (openFileDialog1, pictureBox1)。//加載員工頭像 } catch//捕獲異常 { (加載圖片出錯(cuò))。//彈出消息對(duì)話框 } } private void frmAddEmployee_Load(object sender, EventArgs e) { try { (tb_department,cbbYGBumen,1)。//綁定下拉列表 = 0。//設(shè)置默認(rèn)選項(xiàng) = 0。//設(shè)置默認(rèn)選項(xiàng) = 0。//設(shè)置默認(rèn)選項(xiàng) = 0。//設(shè)置默認(rèn)選項(xiàng) string strg = ()。//得到應(yīng)用程序路徑 strg = (0, (\\))。//截取路徑信息 strg = (0, (\\))。//截取路徑信息 strg += @\PMSImage。//添加路徑信息 strg += @\。//添文件名稱(chēng) = strg。//設(shè)置打開(kāi)文件路徑信息 (tb_userJob,txtYGZhiwu, 1)。//綁定所有的職務(wù)列表 } catch (Exception ex)//捕獲異常 { ()。//彈出消息對(duì)話框 } } private void toolStripLabel1_Click(object sender, EventArgs e) { if (() == || () == || () == || () == || () == || () == || () == ||()==) { (請(qǐng)將信息填寫(xiě)完整, 警告,//彈出消息對(duì)話框 , )。 return。//退出事件 } else { if ( != 11) { (手機(jī)號(hào)碼為11位)。//彈出消息對(duì)話框 return。//退出事件 } else { string str =//創(chuàng)建SQL字符串 select count(*) from tb_employee where employeeID=39。 + + 39。 int i = (str)。//得到記錄數(shù)量 if (i 0) { (該員工編號(hào)已經(jīng)存在, 提示,//彈出消息對(duì)話框 , )。 return。//退出事件 } else { string strSql =//創(chuàng)建SQL字符串 insert into tb_employee(employeeID,employeeName,employeeSex,employeeDept,employeeBirthday,employeeNation,employeeMarriage,employeeDuty,employeePhone,employeeAccession,employeePay) values(39。 + () + 39。,39。 + () + 39。,39。 + + 39。,39。 + + 39。,39。 + + 39。,39。 + () + 39。,39。 + + 39。,39。 + () + 39。,39。 + () + 39。,39。 + + 39。,39。 + () + 39。)。 int num = (strSq
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1