Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Database Connecton Using Swings

  Asked By: Rose    Date: Apr 14    Category: Java    Views: 640
  

Anybody Knows How to connect ms Access databse using swings....
Is it possibles?

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Fahmida Ahmed     Answered 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");

 
Answer #2    Answered By: Vidhya Iyer     Answered On: Apr 14

Do u mean you want to display some data on a panel/frame designed in Swing?
if yes use JDBC, generate a data-structure, use the data to disply

Let me know if u need help in this

 
Answer #3    Answered By: Cyka Jansen     Answered On: Apr 14

To access database  you will need JDBC, not swings.

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




Tagged: