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

正文內(nèi)容

學(xué)生信息管理系統(tǒng)研究與開發(fā)畢業(yè)論文-資料下載頁

2025-06-28 03:28本頁面
  

【正文】 。,39。 + xxkch + 39。)。public void actionPerformed(ActionEvent e) { if (() == 確定) { ()。 if (isNewsm) { new CM(課程信息管理).display()。 } isNewsm = true。 } if (() == 取消) { (false)。 new CM(課程信息管理).display()。 } }}4. 用于課程信息管理中查詢時(shí)輸入課程號(hào)的界面圖片: 代碼: public class CSelect extends JFrame implements ActionListener {// 用于課程信息管理中查詢時(shí)輸入課程號(hào)的界面 JLabel ltitle = new JLabel(課程號(hào):)。 JTextField to = new JTextField(8)。 JButton btnOK = new JButton(確定)。 JPanel p = new JPanel()。 String kch = null。 public CSelect() { // 構(gòu)造方法 (ltitle)。 (to)。 (btnOK)。 add(p)。 (300, 280, 200, 160)。 (this)。 (false)。 ()。 } public void actionPerformed(ActionEvent e) { kch = ()。// 取得當(dāng)前輸入課程號(hào)的值 if (()) {// 判斷是否輸入了課程號(hào) (null, 課程號(hào)不能為空,請(qǐng)重新輸入!)。 } else { ()。 new CM(this, 課程信息管理).select()。 } }}(3) 選課信息管理圖片: 代碼:class SCM extends JFrame implements ActionListener {// 選課信息管理 JPanel p = new JPanel()。 JButton btnSearch = new JButton(查詢)。 JButton btnDisplay = new JButton(顯示)。 JMenuBar mb = new JMenuBar()。 JPanel p1 = new JPanel()。 JTable sTable。 JScrollPane scroll。 Connection con = null。 Statement stmt = null。 ResultSet rs = null。 Object[][] playerInfo。 SCSelect scst。 String mscxh = null。 int ii = 0。 boolean bstd = false。 SCM(String title) {// 構(gòu)造方法 super(title)。 add(South, p)。 (Center, p1)。 (btnSearch)。 (btnDisplay)。 ()。 (200, 200, 400, 260)。 (this)。 (this)。 (mb)。 // ()。 (false)。 show()。 } SCM(SCSelect scst, String title) {// 構(gòu)造方法 super(title)。 = scst。 bstd = true。 add(South, p)。 (Center, p1)。 (btnSearch)。 (btnDisplay)。 ()。 (200, 200, 400, 260)。 (this)。 (this)。 (mb)。 // ()。 (false)。 show()。 } public void display() {// 顯示所有選課信息 int i = 0。 int j = 0。 int k = 0。 List al = new ArrayList()。 try { rs = (select * from sc)。 while (()) {// 找出表中的記錄數(shù)賦給i ((sno))。 ((o))。 ((g))。 i++。 } } catch (SQLException e) { ()。 } playerInfo = new Object[i][3]。 String[] columnNames = { 學(xué)號(hào), 課程號(hào), 成績 }。 try { rs = (select * from sc order by sno)。 while (()) { playerInfo[j][0] = (sno)。 playerInfo[j][1] = (o)。 playerInfo[j][2] = (g)。 j++。 } } catch (SQLException e) { ()。 } sTable = new JTable(playerInfo, columnNames)。// 創(chuàng)建網(wǎng)格 (sTable)。 scroll = new JScrollPane(sTable)。 (scroll)。 }public void select() {// 顯示某個(gè)查詢的結(jié)果 ii = 。 mscxh = 。 int j = 0。 playerInfo = new Object[ii][3]。 String[] columnNames = { 學(xué)號(hào), 課程號(hào), 成績 }。 try { rs = stmt .executeQuery(select * from sc where sno=39。 + mscxh + 39。)。 while (()) { playerInfo[j][0] = (sno)。 playerInfo[j][1] = (o)。 playerInfo[j][2] = (g)。 j++。 } } catch (SQLException e) { ()。 } if (playerInfo[0][1] == null) { ()。 (null, 課程號(hào)不存在!)。 new SCM(選課信息管理).display()。 } else { sTable = new JTable(playerInfo, columnNames)。 (sTable)。 scroll = new JScrollPane(sTable)。 (scroll)。 } } public void actionPerformed(ActionEvent e) { if (() == 查詢) { scst = new SCSelect()。 ()。 } if (() == 顯示) { ()。 new SCM(選課信息管理).display()。 } }}5. 用于選課信息管理中查詢時(shí)輸入學(xué)號(hào)的界面圖片: 代碼:public class SCSelect extends JFrame implements ActionListener {// 用于選課信息管理中查詢時(shí)輸入學(xué)號(hào)的界面 JLabel ltitle = new JLabel(學(xué)號(hào):)。 JTextField tsno = new JTextField(8)。 JButton btnOK = new JButton(確定)。 JPanel p = new JPanel()。 Connection con = null。 Statement stmt = null。 ResultSet rs = null。 String scxh = null。 int i = 0。 public SCSelect() {// 構(gòu)造方法 (ltitle)。 (tsno)。 (btnOK)。 add(p)。 (300, 280, 200, 160)。 (this)。 (false)。 ()。 }public void ii() {// 取得符合條件的記錄數(shù) List al = new ArrayList()。 try { rs = (select * from sc where sno=39。 + scxh + 39。)。 while (()) { ((sno))。 ((o))。 ((g))。 i++。 // 把符合條件的記錄數(shù)賦給i } } catch (SQLException e) { ()。 } } public void actionPerformed(ActionEvent e) { scxh = ()。 // 取得當(dāng)前輸入學(xué)號(hào)的值 ()。 ()。 if (()) {// 判斷是否輸入了學(xué)號(hào) (null, 學(xué)號(hào)不能為空,請(qǐng)重新輸入!)。 } else { ()。 new SCM(this, 選課信息管理).select()。 } }}(4) 成績信息管理圖片: 代碼:class GM extends JFrame implements ActionListener {// 成績信息管理 JPanel p = new JPanel()。 JButton btnAlter = new JButton(修改成績)。 JButton btnSearch = new JButton(查詢)。 JButton btnDisplay = new JButton(顯示)。 JMenuBar mb = new JMenuBar()。 JPanel p1 = new JPanel()。 JTable sTable。 JScrollPane scroll。 Connection con = null。 Statement stmt = null。 ResultSet rs = null。 Object[][] playerInfo。 GSelect gst。 int ii = 0。 String mxh = null。 boolean bstd = false。GM(String title) {// 構(gòu)造方法 super(title)。 add(South, p)。 (Center, p1)。 (btnAlter)。 (btnSearch)。 (btnDisplay)。 ()。 (200, 200, 400, 260)。 (this)。 (this)。 (this)。 (mb)。 // ()。 (false)。 show()。 } GM(GSelect gst, String title) {// 構(gòu)造方法 super(title)。 = gst。 bstd = true。 add(South, p)。 (Center, p1)。 (btnAlter)。 (btnSearch)。 (btnDisplay)。 ()。 (200, 200, 400, 260)。 (this)。 (this)。 (this)。 (mb)。 // ()。 (false)。 show()。 } public void display() {// 顯示所有的成績信息 int i = 0。 int j = 0。 int k = 0。 List al = new ArrayList()。 try { rs = (select * from sc,c where =)。 while (()) {// 找出表中的記錄數(shù)賦給i ((sno))。 (())。 ((g))。 i++。 } } catch (SQLException e) { ()。 } playerInfo = new Object[i][3]。 String[] columnNames = { 學(xué)號(hào), 課程名, 成績 }。 try { rs = (select * from sc,c where =)。 while (()) { playerInfo[j][0] = (sno)。 playerInfo[j][1] = ()。 playerInfo[j][2] = (g)。 j++。 } } catch (SQLException e) { ()。
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1