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

正文內(nèi)容

[小學(xué)教育]學(xué)生信息管理系統(tǒng)——課程設(shè)計實驗報告-資料下載頁

2025-08-27 21:20本頁面

【導(dǎo)讀】的信息和快捷的查詢手段。但一直以來人們使用傳統(tǒng)人工的方式管理文件檔案,的文件和數(shù)據(jù),這對于查找、更新和維護(hù)都帶來了不少的困難。壽命長、成本低等??茖W(xué)化、正規(guī)化管理,與世界接軌的重要條件。在校大學(xué)生人數(shù)的不斷增加,教務(wù)系統(tǒng)的數(shù)量也不斷的上漲,。并且這種傳統(tǒng)的方式存在著很多的弊端,如:保密性差、查詢不便、然而,本系統(tǒng)針對以上缺點能夠極大地提高學(xué)生信。動高效地管理信息是這些年來許多人所研究的。

  

【正文】 e sno=? or sname=?)。 (1, ())。 (2, ())。 rst=()。 int j=0。 while(()){ ((1), j, 0)。 ((2), j, 1)。 ((3), j, 2)。 ((4), j, 3)。 ((5), j, 4)。 j++。 } } catch (SQLException e) { (null, 查詢失?。?, 錯誤 , )。 } } 三、“學(xué)生個人成績查詢”界面 查詢按鈕事件關(guān)鍵代碼如下 : private void queryButtonActionPerformed( evt) { // TODO add your handling code here: int i=0。 while(i()){//用循環(huán)清空表格中的內(nèi)容,保證查詢數(shù)據(jù)時刷新內(nèi)容 (, i, 0)。 (, i, 1)。 (, i, 2)。 (, i, 3)。 i++。 } String s。 s=select o,ame,grade,ccredit from s_sc_c where (sno=? or sname=?)and sterm=?。 try { pstmt1 = (s)。 (1, ())。 (2, ())。 (3, 數(shù)據(jù)庫課程設(shè)計 31 (().toString().trim()))。 rst=()。 int j=0。 while(()){ ((1), j, 0)。 ((2), j, 1)。 ((3), j, 2)。 ((4), j, 3)。 j++。 } } catch (SQLException ex) { (()).log(, null, ex)。 } } 四、“班級成績查詢”界面 查詢 按鈕事件關(guān)鍵代碼如下 : private void queryButtonActionPerformed( evt) { // TODO add your handling code here:班級成績查詢統(tǒng)計 int i=0。 while(i()){//用循環(huán)清空表格中的內(nèi)容,保證查 詢數(shù)據(jù)時刷新內(nèi)容 (, i, 0)。 (, i, 1)。 (, i, 2)。 (, i, 3)。 (, i, 4)。 (, i, 5)。 i++。 } ()。 ()。 ()。 ()。 ()。 String s,s1。 s=select sno,sname,ame,grade,ccredit,chours from s_sc_c where class=? and ame=? and grade+().toString()+?。 s1=select count(*) as scount,sum(grade) as total,avg(grade) as avg_s,max(grade) as mf,min(grade) as nf from s_sc_c where class=? and ame=? and grade+().toString()+?。 //pstmt1 完成班級查詢功能 數(shù)據(jù)庫課程設(shè)計 32 try { pstmt1 = (s)。 (1, ())。 (2, ())。 (3, (()))。 rst=()。 int j=0。 while(()){ ((1), j, 0)。 ((2), j, 1)。 ((3), j, 2)。 ((4), j, 3)。 ((5), j, 4)。 ((6), j, 5)。 j++。 } //pstmt2 連接完成統(tǒng)計功能 pstmt2=(s1)。 (1, ())。 (2, ())。 (3, (()))。 rst=()。 while(()){ ((1))。 ((2))。 ((3))。 ((4))。 ((5))。 } ()。 ()。 ()。 } catch (SQLException ex) { (()).log(, null, ex)。 } } 五、“系統(tǒng)登錄”界面 關(guān)鍵代碼如下 : 1.事件處理 private void userLoginMenuItemActionPerformed( evt) { 數(shù)據(jù)庫課程設(shè)計 33 // TODO add your handling code here:單擊菜單時彈出系統(tǒng)登錄界面 UserLogin login=new UserLogin()。 (true)。 (login)。 try { (true)。 } catch (PropertyVetoException ex) { (()).log(, null, ex)。 } } private void LoginButtonActionPerformed( evt) { try { // TODO add your handling code here:系統(tǒng)登錄事件處理 conn = ()。 pstmt = (select * from UserInfo where username=? and password=?)。 (1, ())。 (2, ())。 rst = ()。 if (()) { (null, 登錄成功 , 登錄 , )。 ()。 //登錄成功后自動關(guān)閉登錄界面 //()。 } else { (null, 登錄失敗 , 警告 , )。 ()。 //登錄失敗時清除用戶名和密碼框內(nèi)的內(nèi)容 ()。 } ()。 ()。 } catch (SQLException ex) { (()).log(, null, ex)。 } } 數(shù)據(jù)庫課程設(shè)計 34 當(dāng)用戶打開登錄界面后想取消此次登錄,可以點擊登錄界面,完成事件處理。 private void ExitButtonActionPerformed( evt) { // TODO add your handling code here:取消登錄事件處理 ()。 } ⑴ 主界面菜單的 “ 學(xué)生信息管理 “ , ” 成績管理 “ , ” 查詢統(tǒng)計 “ 的 enable屬性取消(即不可用)。 ⑵ 在主窗體 中創(chuàng)建共有方法 setP()完成菜單屬性( enable)使菜單可用。 public void setP(){ (true)。 (true)。 (true)。 } ⑶ 在主應(yīng)用類 StuIMSApp 中聲明類變量 public static StuIMSView main。,在startup()方法中刪除 show(new StuIMSView(this))。語句,并創(chuàng)建主窗體 main 對象,且顯示。代碼如下: @Override protected void startup() { // show(new StuIMSView(this))。該語句刪除 main=new StuIMSView(this)。 show(main)。 } ⑷ 在登陸窗體中調(diào)用 setP()方法完成權(quán)限控制。 ()。
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1