Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Rose Howard   on Apr 14 In Java Category.

  
Question Answered By: Fahmida Ahmed   on Apr 14

you have to write this code in your java program

Class.forName("sun.jdbc.jdbcodbcDriver");
Connection
con=DriverManager.getConnection("jdbc:odbc:databasename");

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Database Connecton Using Swings Or get search suggestion and latest updates.


Tagged: