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

正文內(nèi)容

學生信息管理系統(tǒng)(java)代碼(參考版)

2024-12-19 13:57本頁面
  

【正文】 JButton btnsc = new JButton(選課信息管理 )。 JButton btns = new JButton(學生信息管理 )。 class ManagerFrane extends JFrame implements ActionListener {// 管理員界面 JPanel p1 = new JPanel()。 import .*。 new GM(this, 成績信息管理 ).select()。 if (()) {// 判斷是否輸入了學號 (null, 學號不能為空,請重新輸入! )。 // 取得當前輸入學號的值 ()。// 把符合條件的記錄數(shù)賦給 i } } catch (SQLException e) { ()。 ((g))。 while (()) { ((sno))。 + gxh + 39。 } } public void ii() {// 取得符合條件的記錄數(shù) List al = new ArrayList()。 ()。 } catch (SQLException e) { ()。 } try { con = ( jdbc: DatabaseName=student, sa, 123)。 } public void connDB() { // 連接數(shù)據(jù)庫 try { ()。 (false)。 (300, 280, 200, 160)。 (btnOK)。 public GSelect() {// 構(gòu)造方法 (ltitle)。 String gxh = null。 Statement stmt = null。 JPanel p = new JPanel()。 JTextField tsno = new JTextField(8)。 import .*。 import 。 import 。 import 。 } } } import .*。 } if (() == 顯示 ) { ()。 } if (() == 查詢 ) { gst = new GSelect()。 (scroll)。 (sTable)。 new GM(成績信息管理 ).display()。 } if (playerInfo[0][1] == null) { ()。 j++。 playerInfo[j][1] = ()。)。 try { rs = stmt .executeQuery(select * from sc,c where = and sno=39。 playerInfo = new Object[ii][3]。 ii = 。 ()。 (false)。 (kcm)。 (修改成績 )。 } } catch (SQLException e) { ()。 xxkch = (g)。 j1 = row) { kch = (sno)。 } while (() amp。 + mxh + 39。 try { if (!bstd) {// 判斷選擇的是不是查詢后的結(jié)果 rs = stmt .executeQuery(select * from sc,c where =)。 if (row == 1) {// 判斷要修改的信息是否被選中 (null, 請選擇要修改的記錄! )。 int row = 1。 String kcm = null。 } catch (SQLException e) { ()。 } } public void closeDB() // 關閉連接 { try { ()。 stmt = ()。 } catch (ClassNotFoundException e) { ()。 (scroll)。// 創(chuàng)建網(wǎng)格 (sTable)。 } } catch (SQLException e) { ()。 playerInfo[j][2] = (g)。 while (()) { playerInfo[j][0] = (sno)。 String[] columnNames = { 學號 , 課程名 , 成績 }。 } } catch (SQLException e) { ()。 ((g))。 while (()) {// 找出表中的記錄數(shù)賦給 i ((sno))。 List al = new ArrayList()。 int j = 0。 show()。 // ()。 (this)。 (this)。 ()。 (btnSearch)。 (Center, p1)。 bstd = true。 } GM(GSelect gst, String title) {// 構(gòu)造方法 super(title)。 (false)。 (mb)。 (this)。 (200, 200, 400, 260)。 (btnDisplay)。 (btnAlter)。 add(South, p)。 boolean bstd = false。 int ii = 0。 Object[][] playerInfo。 Statement stmt = null。 JScrollPane scroll。 JPanel p1 = new JPanel()。 JButton btnDisplay = new JButton(顯示 )。 JButton btnAlter = new JButton(修改成績 )。 import 。 import .*。 import .*。 } } } import 。 } if (() == 取消 ) { (false)。 ()。 } } } public void actionPerformed(ActionEvent e) { if (() == 確定 ) { ()。)。 and o=39。 where sno=39。 (update sc set g=39。 while (()) { go = (o)。 + kcm + 39。 if (() == 修改成績 ) { try { ()。 xxkch = ()。 kch = ()。 String kcm = null。 } catch (SQLException e) { ()。 } } public void closeDB() // 關閉連接 { try { ()。 stmt = ()。 } catch (ClassNotFoundException e) { ()。 ()。 (this)。 (false)。 (btnCancel)。 (tpo)。 (tame)。 (to)。 (new FlowLayout())。// 用于判斷是否顯示成績信息管理的界面 public GAdd() {// 構(gòu)造方法 (增加 )。 ResultSet rs = null。 Connection con = null。 JButton btnCancel = new JButton(取消 )。 JTextField tpo = new JTextField(10)。 JTextField to = new JTextField(10)。 JLabel lame = new JLabel(課程名: )。 import .*。 import .*。 } else if (source == btnCancel) { (0)。 } } } else if (source == btncz) { ()。 ()。 } } } if (!success) { (null, 登錄名錯誤! )。 ()。 break。// 進入管理員界面 } if (qxian == 1) { new StudentFrame()。 (false)。 pw = (pw).trim()。 try { rs = (select * from unpw where qx=
點擊復制文檔內(nèi)容
教學課件相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1