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

正文內(nèi)容

數(shù)據(jù)庫(kù)課程設(shè)計(jì)—企業(yè)工資管理系統(tǒng)-資料下載頁(yè)

2025-01-16 17:03本頁(yè)面
  

【正文】 = (jdbc:mysql://localhost:3306/wage management,root,jxb)。 sql = ()。 con = (jdbc:mysql://localhost:3306/wage management,root,jxb)。 sql = ()。 String updateStr = UPDATE welfare SET jt=39。+()+39。,name=39。+()+39。where no=39。+()+39。 (updateStr)。 String updateStr1 = UPDATE wageinfo SET jb=39。+()+39。,name=39。+()+39。where no=39。+()+39。 (updateStr1)。 (updateStr1)。 String updateStr2 = UPDATE workerinfo SET name=39。+()+39。,mi=39。+()+39。where no=39。+()+39。 (updateStr2)。 (this, 修改成功!)。 ()。 } catch (SQLException e1) { (this, 修改失??!)。 } } if ((())) {// 刪除員工信息 Connection con。 Statement sql。 try { ()。 } catch (ClassNotFoundException e1) { (this, 連接數(shù)據(jù)庫(kù)失敗!)。 } try { con = (jdbc:mysql://localhost:3306/wage management,root,jxb)。 sql = (, )。 (DELETE FROM wageinfo where no=39。+()+39。)。 (DELETE FROM welfare where no=39。+()+39。)。 (DELETE FROM workerinfo where no=39。+()+39。)。 (this, 刪除成功!)。 ()。 } catch (SQLException e1) { (this, 刪除失??!)。 } } if ((())) {// 查詢?nèi)繂T工信息 Connection con。 Statement sql。 ResultSet rs。 try { ()。 } catch (ClassNotFoundException e1) { (this, 連接數(shù)據(jù)庫(kù)失??!)。 } try { con = (jdbc:mysql://localhost:3306/wage management,root,jxb)。 sql = (, )。 if ((())) { for (int i = 0。 i 50。 i++) for (int j = 0。 j 4。 j++) (, i, j)。 rs = (select distinct * from wageinfo ,welfare,workerinfo where = and = 。)。 int k = 1。 while (()) { ++k。 String no = (1)。 String name = (2)。 String jb = (3)。 String jt = (6)。 int sum= (3)+(6)。 String mi = (9)。 (no, k, 0)。 (name, k, 1)。 (jb, k, 3)。 (jt, k, 2)。 (sum,k,4)。 (mi,k,5)。 } } } catch (SQLException e1) { (this, 查詢失?。?。 } } if ((())) {// 返回 GZGLZJM gl=new GZGLZJM()。 ()。 ()。 } }}package wage_management。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。class XGMM extends DL implements ActionListener { JFrame frame = new JFrame(密碼修改)。 JLabel label1 = new JLabel(原密碼)。 JLabel label2 = new JLabel(新密碼)。 JButton Button1 = new JButton(確定)。 JButton cancelButton = new JButton(返回)。 JPasswordField password = new JPasswordField(9)。 JPasswordField newpassword = new JPasswordField(9)。 void create() { JPanel p = (JPanel) ()。 (new FlowLayout())。 (label1)。 (5, 5)。 (4, 8)。 (password)。 (100, 200)。 (600, 600)。 (label2)。 (50, 20)。 (40, 80)。 (newpassword)。 (100, 20)。 (80, 120)。 (Button1)。 (cancelButton)。 ()。 (true)。 (this)。 (this)。 ()。 ()。 (200, 100, 500, 220)。 (true)。 } public void actionPerformed(ActionEvent e) { if (()==Button1) { Connection con。 Statement sql。 try { ()。 } catch (ClassNotFoundException e1) { (this, 連接數(shù)據(jù)庫(kù)失??!)。 } try { con = (jdbc:mysql://localhost:3306/wage management,root,jxb)。 sql = ()。 String updateStr = UPDATE workerinfo SET mi=39。+()+39。where name=39。+t1+39。 (updateStr)。 (this, 修改成功!)。 ()。 } catch (SQLException e1) { (this, 請(qǐng)輸入原密碼和新密碼!)。 //(e1)。 } } if (()==cancelButton) // 返回 { YGDLJM dl=new YGDLJM()。 ()。 ()。 } }}5. 課設(shè)總結(jié)此次課設(shè)難度有點(diǎn)大,通過幾天的努力終于完成了,開始對(duì)如何連接數(shù)據(jù)庫(kù)不太了解,通過小組合作,和網(wǎng)上查閱資料,最終解決了問題,在寫員工登陸界面時(shí),要從數(shù)據(jù)庫(kù)讀取和驗(yàn)證密碼,開始遇到了些問題,后來慢慢都完成了,總的來說收獲很大,了解了如何將所學(xué)數(shù)據(jù)庫(kù)運(yùn)用到編程里,對(duì)數(shù)據(jù)庫(kù)數(shù)據(jù)的查詢,更改,添加都有了更一步的了解。30
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1