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

正文內(nèi)容

數(shù)據(jù)庫教學管理系統(tǒng)-資料下載頁

2025-04-07 23:10本頁面
  

【正文】 ter , sql)。 } })。 / /單擊這個按鈕,進入到計算機系二班學生課程信息系統(tǒng) (new ActionListener() { public void actionPerformed(ActionEvent Event) { String sql = select * from courseinfo where grade=39。二班39。and major=39。計算機系39。 Show_Course courseinformation = new Show_Course(Student course information system of puter , sql)。 } })。 // /單擊這個按鈕,進入到計算機系三班學生課程信息系統(tǒng) (new ActionListener() { public void actionPerformed(ActionEvent Event) { String sql = select * from courseinfo where grade=39。三班39。 and major=39。計算機系39。 Show_Course courseinformation = new Show_Course(Student course information system of puter , sql)。 } })。 // /單擊這個按鈕,進入到法律系一班學生課程信息系統(tǒng) (new ActionListener() { public void actionPerformed(ActionEvent Event) { String sql = select * from courseinfo where grade =39。一班39。and major=39。法律系39。 Show_Course courseinformation = new Show_Course(Student course information system of legal ,sql)。 } })。 // /單擊這個按鈕,進入到法律系二班學生課程信息系統(tǒng) (new ActionListener() { public void actionPerformed(ActionEvent Event) { String sql = select * from courseinfo where grade=39。二班39。and major=39。法律系39。 Show_Course courseinformation = new Show_Course(Student course information system of legal , sql)。 } })。 // /單擊這個按鈕,進入數(shù)學系一班學生課程信息系統(tǒng) (new ActionListener() { public void actionPerformed(ActionEvent Event) { String sql = select * from courseinfo where grade=39。一班39。and major=39。數(shù)學系39。 Show_Course courseinformation = new Show_Course(Student course information system of mathematics , sql)。 } })。 // /單擊這個按鈕,數(shù)學系二班學生課程信息系統(tǒng) (new ActionListener() { public void actionPerformed(ActionEvent Event) { String sql = select * from courseinfo where grade=39。二班39。and major=39。數(shù)學系39。 Show_Course courseinformation = new Show_Course(Student course information system of mathematics , sql)。 } })。 } public void add(Component c, GridBagConstraints constraints, int x, int y, int w, int h) { = x。 = y。 = w。 = h。 add(c, constraints)。 }}class From_student { public Vector getstudent(Connection con, String sql) { Vector v = new Vector()。 try { Statement st = ()。 ResultSet rs = (sql)。 while (()) { String name = (1)。 String code = (2)。 String sexy = (3)。 String age = (4)。 String address = (5)。 String birthday = (6)。 String grade = (7)。 String major = (8)。 studentBean ss = new studentBean(name, code)。 (sexy)。 (major)。 (birthday)。 (address)。 (age)。 (grade)。 (ss)。 } ()。 } catch (Exception e) { ()。 } return v。 } public studentBean getobject(Connection con, String stname) { studentBean sst = null。 try { Statement st = ()。 String sql = select * from studentinfo where name=39。 + stname + 39。 ResultSet rs = (sql)。 // /通過結(jié)果集中的getString方法從數(shù)據(jù)庫中表中提取表字段的數(shù)據(jù) // /再將提取出來的數(shù)據(jù)賦值給學生對象。 // /最后將學生對象存儲到vector數(shù)據(jù)結(jié)構(gòu)中 while (()) { String code = (2)。 String sexy = (3)。 String age = (4)。 String address = (5)。 String birthday = (6)。 String grade = (7)。 String major = (8)。 sst = new studentBean(stname, code)。 (sexy)。 (major)。 (birthday)。 (address)。 (age)。 (grade)。 } ()。 } catch (Exception e) { ()。 } return sst。 } // /通過設置數(shù)據(jù)庫的URL,密碼,用戶名來建立與數(shù)據(jù)庫的連接 public Connection getConnection() { Connection con = null。 try { ()。 // 加載jdbc數(shù)據(jù)驅(qū)動 con = (jdbc:sqlserver://:1433。databaseName = spdb1,sa,hadoop)。 } catch (SQLException e) { ()。 } catch (ClassNotFoundException ex) { ()。 } return con。 }}class Show_Student extends JPanel { private static final long serialVersionUID = 1L。 static final int WIDTH = 700。 static final int HEIGHT = 400。 final JComboBox nameinput。 final JTextField codeinput。 final JTextField sexyinput。 final JTextField birthdayinput。 final JTextField ageinput。 final JTextField addressinput。 final JTextField gradeinput。 final JTextField majorinput。 JFrame studentinfoframe。 From_student store = new From_student()。 Connection con = ()。 Student_Frame af = new Student_Frame()。 public void add(Component c, GridBagConstraints constraints, int x, int y, int w, int h) { = x。 = y。 = w。 = h。 add(c, constraints)。 } public Show_Student(String str, String sql) { studentinfoframe = new JFrame()。 (str)。 ()。 (WIDTH, HEIGHT)。 Toolkit kit = ()。 Dimension screenSize = ()。 int width = 。 int height = 。 int x = (width WIDTH) / 2。 int y = (height HEIGHT) / 2。 (x, y)。 (true)。 // (false)。 (this, )。 GridBagLayout lay = new GridBagLayout()。 setLayout(lay)。 JLabel name = new JLabel(Name)。 JLabel code = new JLabel(ID)。 JLabel sexy = new JLabel(Gender)。 JLabel age = new JLabel(Age)。 JLabel birthday = new JLabel(Birthday)。 JLabel address = new JLabel(Address)。 JLabel grade = new JLabel(Grade)。 JLabel major = new JLabel(major)。 JLabel title = new JLabel(str)。 nameinput = new JComboBox()。 codeinput = new JTextField(10)。 sexyinput = new JTextField(10)。 ageinput = new JTextField(10)。 birthdayinput = new JTextField(10)。 addressinput = new JTextField(10)。 gradeinput = new JTextField(10)。 majorinput = new JTextField(10)。 // /將存儲在Vector中的數(shù)據(jù)提取出來重新賦值給學生對象。再利用學生對象中 // getname方法來提取出學生姓名來,最后使用組合列表框的添加功能將這些名字添加到列表中去。 Vector vec = (con, sql)。 for (int i = 0。 i ()。 i++) { studentBean one = (studentBean) (i)。 String nameselect = ()。 (nameselect)。 } String namestring = (String) ()。 studentBean p = (con, namestring)。 String inputcode = ()。 String inputsexy = ()。 String inputage = ()。 String inputbirthday = ()。 String inputaddress = ()。 String inputgrade = ()。 String
點擊復制文檔內(nèi)容
公司管理相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1