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

正文內(nèi)容

高校學(xué)生成績管理信息系統(tǒng)--erp課程設(shè)計-文庫吧資料

2025-01-24 16:12本頁面
  

【正文】 180,140,25)。 //文本框 (150,100,140,25)。 (340,180,100,25)。 (340,100,100,25)。 (80,220,100,25)。 (80,140,100,25)。 //屬性框 (80,60,100,25)。 (修改教師基本信息)。 (new Font(red,21))。 (btnModify)。 (jp)。 (jrmen)。 (jrmen)。 (jttelephone)。 (jtseninority)。 (jtage)。 (jtname)。 (jltrank)。 //將控件添加 到窗體 (jltaddress)。 (jltdepart)。 (jltsex)。 //將控件添加 到窗體 (title)。 (null)。 MyPanel contentPane=new MyPanel()。 //設(shè)置居中 (true)。 (200, 200)。//設(shè)置關(guān)閉 (false)。 //設(shè)置窗體的大小 (修改教師信息系統(tǒng))。 public Modify_Teacher(){ (load class query..)。 JButton btnModify=new JButton(修改)。 JRadioButton jrmen=new JRadioButton(男,true)。 //創(chuàng)建ButtonGroup組件對象 JPanel jp=new JPanel()。 JComboBox cboRank=new JComboBox()。 JTextField jtaddress=new JTextField()。 JTextField jtdepart=new JTextField()。 JTextField jtsex=new JTextField()。 JComboBox jtno=new JComboBox()。 JLabel jlttelephone=new JLabel(聯(lián)系方式:)。 JLabel jltseninority=new JLabel(工 齡:)。 JLabel jltage=new JLabel(年 齡:)。 //創(chuàng)建文本框?qū)ο? JLabel jltname=new JLabel(姓 名:)。 public class Modify_Teacher extends JInternalFrame implements ActionListener,ItemListener{// 組件的實例化放在類 JLabel title=new JLabel()。 import 。 import 。 import 。 import 。 import 。 import 。 } } 修改教師信息模塊運行界面圖 53 修改教師基本信息具體代碼如下:package 。 } return count+1。 ()。 ()。 ()。 ()。 //(sql)。 //step3:操作數(shù)據(jù)庫的對象 Statement st=()。 //step2:創(chuàng)建連接對象 Connection conn=(jdbc:odbc:studentDB)。 } public int getClassCount(){ int count=0。 if(shellWidth screenWidth) shellWidth = screenWidth。 int shellWidth = ().width。 int screenWidth = ().getScreenSize().width。 (0)。 ()。 ()。 ()。 ()。 } }else if(()==reset){ //重置所有控件 ()。 ()。 } else{ (ss,添加失敗)。) )。,39。,39。,39。,+tage+,+tseninority+,39。,39。 temp=(insert into Teacher values(39。 if(()) tsex=男。 //獲取連接字符串 (數(shù)據(jù)庫已連接!)。 String url=jdbc:odbc:studentDB。 Connection con=null。//()。 ttelephone=()。 tseninority=(())。 tage=(())。 } public void actionPerformed(ActionEvent e){ tno=()。 return (tno)。 if(this == obj){ return true。 (正教授)。 (講師)。 (請選擇)。 (false)。// centerShell(this)。//最大化和關(guān)閉按鈕 (true)。 (this)。 (420,100,150,25)。 (200,270,60,25)。 (410,140,140,25)。 //地址文本框 (410,60,140,25)。 (150,180,140,25)。 //文本框 (150,100,140,25)。 (340,180,100,25)。 (340,100,100,25)。 (80,220,100,25)。 (80,140,100,25)。 //屬性框 (80,60,100,25)。 (添加教師基本信息)。 (new Font(red,15))。 (new Font(red,21))。 (reset)。 (false)。 (jp)。 (jrmen)。 (jrmen)。 (jttelephone)。 (jtseninority)。 (jtage)。 (jtname)。 (jltrank)。 //將控件添加 到窗體 (jltaddress)。 (jltdepart)。 (jltsex)。 //將控件添加 到窗體 (title)。 // (null)。 (contentPane)。 public Add_TeacherInfo(){ (添加教師基本信息)。 JButton submit=new JButton(添加)。 JRadioButton jrmen=new JRadioButton(男,true)。 //創(chuàng)建ButtonGroup組件對象 JPanel jp=new JPanel()。 JComboBox cboRank=new JComboBox()。 JTextField jtaddress=new JTextField()。 JTextField jtdepart=new JTextField()。 JTextField jtsex=new JTextField()。 JTextField jtno=new JTextField()。 JLabel jlttelephone=new JLabel(聯(lián)系方式:)。 JLabel jltseninority=new JLabel(工 齡:)。 JLabel jltage=new JLabel(年 齡:)。 //創(chuàng)建文本框?qū)ο? JLabel jltname=new JLabel(姓 名:)。 //輸入信息提示框 JLabel title=new JLabel()。 //聯(lián)系方式 String tno= (())。 //系別 String taddress=。 //職稱 int tseninority。 //性別 int tage。 String tname=。 import .*。 import .*。 }}5 詳細設(shè)計 教師子系統(tǒng)詳細設(shè)計 添加教師信息模塊運行界面圖 52 添加教師基本信息具體代碼如下:package 。 } catch (SQLException e2) { ()。 } catch (ClassNotFoundException e1) { (未找到驅(qū)動!)。 Statement st=()。 try { ()。 } return count。 ()。 ()。 count = (sql)。 Connection conn=(jdbc:odbc:studentDB)。public class SqlHelper { ** * 操作數(shù)據(jù)庫的方法 * param sql * return 更新行數(shù) */public static int executeUpdate(String sql){ int count=0。import 。import 。 //導(dǎo)包import 。)),tage int check(tage 1 and tage 150),tseninority int,taddress char(200),ttelephone char(20),tdepart char(50),trank char(100),)(7)創(chuàng)建課程表create table Course(o int identity(1,1) primary key,ame char (20),chours int,ccredit int check(ccredit 1 and ccredit 10),tno int foreign key(tno) references Teacher(tno),)(8)創(chuàng)建成績表create table score( sno int foreign key(sno) references StuIfo(id), o int foreign key(o) references Course(o), Grade float check ( (Grade=0) and (Grade=100))) 數(shù)據(jù)庫與eclipse的鏈接(1)首先,先在Windows系統(tǒng)打開控制面板——管理工具——數(shù)據(jù)源(ODBC)——系統(tǒng)DSN——添加——SQL——填寫數(shù)據(jù)源名稱(即studentDB)——鏈接數(shù)據(jù)庫student——》對數(shù)據(jù)源studentDB并進行測試,測試測試成功。,39。)),classid int foreign key(classid)references ClassIfo(id),address varchar(50),tel char(20),)(4)創(chuàng)建系別表create table department(id int identity(1,1) primary key,name varchar(50) not null,)(5)創(chuàng)建專業(yè)表create table major(id int primary key,name varchar(50) not null,did int foreign key (did) references department(id))(6)創(chuàng)建教師表create table Teacher(tno int identity(1,1) primary key,tname char (20) not null,tsex char(2) check (tsex in(39。,39。具體步驟如下:(1)創(chuàng)建數(shù)據(jù)庫:studentcreate database studentuse student(2)創(chuàng)建班級表create table ClassIfo(id int primary key,name char(20),depart varchar(20),departid int foreign key (departid
點擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1