This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes inserting values in the Excel sheet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "inserting values in the Excel sheet" Watch "inserting values in the Excel sheet" New topic
Author

inserting values in the Excel sheet

pappitha swaminathan
Greenhorn

Joined: Aug 16, 2011
Posts: 9
Hi all,
could you please help me in inserting values into the excel sheet using jdbc???
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Use the right tool for the job - JDBC is an API to access databases. A library like Apache POI, on the other hand, is perfect for handling XLS and XLSX files.


Ping & DNS - my free Android networking tools app
vineet dhar
Greenhorn

Joined: Aug 17, 2011
Posts: 23
pappitha swaminathan wrote:Hi all,
could you please help me in inserting values into the excel sheet using jdbc???




You can use the Type 1 JDBC Driver to enter the values into the Excel Sheet....i.e. Microsoft JDBC-ODBC driver..but check the version of jdk,,it might be deprecated..
Prateek Jauhari
Greenhorn

Joined: Mar 07, 2011
Posts: 26

Why you wanna use JDBC for excel insertion. ?
POI interface is good tool to handle excel operations in JAVA
pappitha swaminathan
Greenhorn

Joined: Aug 16, 2011
Posts: 9
vineet dhar wrote:
pappitha swaminathan wrote:Hi all,
could you please help me in inserting values into the excel sheet using jdbc???




You can use the Type 1 JDBC Driver to enter the values into the Excel Sheet....i.e. Microsoft JDBC-ODBC driver..but check the version of jdk,,it might be deprecated..


yeah i used but its not working.. throwing an exception..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: inserting values in the Excel sheet
 
Similar Threads
Javascript Excel Sheet API
WA #1.....word association
Jdbc in excel sheet
Help in Struts
JDBC