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

正文內(nèi)容

java學(xué)生信息管理系統(tǒng)實(shí)驗(yàn)報(bào)告(編輯修改稿)

2024-10-11 00:27 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 , 30)。 (150, 200, 200, 30)。 (100, 300, 100, 60)。 (200, 300, 100, 60)。 (new ActionListener() { public void actionPerformed(ActionEvent event) { String name=()。 String password=()。 try { .. ()。 } catch(ClassNotFoundException e) { ( + e)。 } try { Connection con。 Statement sql。 ResultSet rs。 con=(jdbc:odbc:pan,)。 sql=()。 rs=(SELECT sname,sphone FROM student where sname=39。+name+39。 AND sphone=39。+password+39。)。 if(()) { JOptionPane a=new JOptionPane()。 (null,登 陸成功.. ,消息對(duì)話框 ,)。 ()。 } else { ()。 ()。 JOptionPane a=new JOptionPane()。 (null,您的賬戶名 或 密 碼 有 誤 , 消 息 對(duì) 話 框 ,)。 } ()。 } catch(SQLException e) { (e)。 } } })。 .. (new ActionListener() { public void actionPerformed(ActionEvent event) { ()。 } })。 } } 普通學(xué)生登陸與權(quán)限 .. class ShowStu .. { void ShowStu() { JFrame frame1=new JFrame(學(xué)生信息窗口 )。 (300,300,500,400)。 (2)。 JTable table。 Object a[][]=null。 Object name[]={學(xué)號(hào) ,姓名 ,年齡 ,性別 ,籍貫,電話 }。 Connection con。 Statement st。 ResultSet rs。 try { ()。 } catch(ClassNotFoundException e) { .. ( + e)。 } try { con=(jdbc:odbc:pan,)。 st=(VE,)。 rs=(SELECT * FROM student)。 ()。 int lastnumber=()。 a=new Object[lastnumber][6]。 int i=0。 ()。 while(()) { a[i][0]=(1)。 a[i][1]=(2)。 a[i][2]=(3)。 .. a[i][3]=(4)。 a[i][4]=(5)。 a[i][5]=(6)。 i++。 } ()。 } catch(SQLException e) { (e)。 } table=new JTable(a,name)。 (new BorderLayout())。 (new JScrollPane(table),)。 (true)。 ()。 } } .. class AlterStu { void AlterStu() { JFrame deleteframe=new JFrame(更改學(xué)生信息 )。 (null)。 JLabel label=new JLabel( 需 要 修 改 的 學(xué) 生 學(xué) 號(hào),)。 (true)。 (350,350,450,350)。 JButton btn=new JButton(確定 )。 (label)。 .. ()。 final JTextField text=new JTextField(10)。 (100,60)。 (text)。 (btn)。 (150, 50, 150, 20)。 (150, 100, 100, 20)。 (150, 150, 100, 20)。 (new ActionListener() { public void actionPerformed(ActionEvent event) { String sno=()。 Connection con。 Statement st。 ResultSet rs。 try { ()。 } .. catch(ClassNotFoundException e) { (e)。 } try { con=(jdbc:odbc:pan,)。 st=()。 rs=(SELECT * FROM student WHERE sno=+39。+sno+39。)。 if(rs==null) { JOptionPane b=new JOptionPane()。 (null,該學(xué)生不存在 ,消息對(duì)話框 ,)。 } else { ()。 final String no1=(1)。 .. final String name1=(2)。 final String age1=(3)。 final String sex1=(4)。 final String address1=(5)。 final String phone1=(6)。 JFrame addframe=new JFrame(修改學(xué)生信息)。 (2)。 (400,200,450,600)。 (true)。 (true)。 ()。 (new BorderLayout())。 Box basebox,box1,box2,box3,box4。 basebox=()。 box1=()。 box2=()。 box3=()。 box4=()。 JLabel no=new JLabel(學(xué)號(hào) )。 JLabel name=new JLabel(姓名 )。 .. JLabel age=new JLabel(年齡 )。 ((90))。 (no)。 ((90))。 (name)。 ((90))。 (age)。 JLabel sex=new JLabel(性別 )。 JLabel address =new JLabel(籍貫 )。 JLabel phone=new JLabel(電話 )。 ((90))。 (sex)。 ((90))。 (address)。 ((90))。 (phone)。 final JTextField notext=new JTextField(15)。 final JTextField nametext=new JTextField(15)。 final JTextField agetext=new JTextField(15)。 .. final JTextField sextext=new JTextField(15)。 final JTextField addresstext=new JTextField(15)。 final JTextField phoext=new JTextField(15)。 ((90))。 (notext)。 ((90))。 (nametext)。 ((90))。 (agetext)。 ((90))。 (sextext)。 ((90))。 (addresstext)。 ((90))。 (phoext)。 (box1)。 (box2)。 (box3)。 (box4)。 .. JLabel title=new JLabel(所要修改學(xué)生的基本信息 ,)。 JButton addbtn=new JButton(修改 )。 (title,)。 (basebox,)。 (addbtn,)。 (no1)。 (name1)。 (age1)。 (sex1)。 (address1)。 (phone1)。 (new ActionListener() { public void actionPerformed(ActionEvent event) { Connection con。 .. Statement st。 ResultSet rs。 String no2=()。 String name2=()。 String age2=()。 String sex2=()。 String address2=()。 String phone2=()。 try { ()。 } catch(ClassNotFoundException e) { (e)。 } try { .. con=(jdbc:odbc:pan,)。 st=()。 int ok=(UPDATE student SET sno=39。+no2+39。,sname=39。+name2+39。,ssex=39。+sex2+39。,sage=39。+age2+39。,saddress=39。+address2+39。,sphone=39。+phone2+39。 WHERE sno=39。+no1+39。)。 if(ok==1) { JOptionPane
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1