Welcome![Sign In][Sign Up]
Location:
Downloads WEB Code JSP/Java
Title: xuexi Download
 Description: Public void jButton1_actionPerformed(ActionEvent e) { driver=jTextField1.getText() URL=jTextField2.getText() table=jTextField3.getText() name=jTextField4.getText() password=jTextField5.getText() try{ Class.forName(driver) //加载驱动程序 con = DriverManager.getConnection(URL, name,password) //创建连接 this.setVisible(false) new MainFrame() con.close() } catch (Exception e1) { JOptionPane.showMessageDialog(null, "数据库连接出错
 Downloaders recently: [More information of uploader 潘云阳]
 To Search:
File list (Check if you may need any files):
 

xuexi.txt
    

CodeBus www.codebus.net