Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java - MsExcel - java

 
Sanjay pts
Ranch Hand
Posts: 357
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
All
I have data as in MS-Excel Format.
Now i want to read that Excel Sheets using Java and then stored it into Database.
Can anybody tell me how can i go for this.
Thanks in advance
Sanjay
 
koray guclu
Ranch Hand
Posts: 59
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make a ODBC connection to Excel file and then fetch the values from file by using java and then insert them to your database. Or make XML file from your excel by using MS stuff and then import this XML to your application.
Check perstore application at java.sun.com web site.
you can get code snippets from there.
------------------
-----------------------------------------------------
Koray GUCLU ~ the sky has no limit ~
(B.s. Computer Engineer)
Frankfurt am Main, Germany
web : <A HREF="http://www.geocities.com/korayguclu/<BR rel="nofollow">" TARGET=_blank>http://www.geocities.com/korayguclu/
mail: korayguclu@yahoo.com
-----------------------------------------------------
 
Dave Soto
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another easy way to do this (and one you'll find TONS of info on the web for) is to first import your excel spreadsheet into an Access database. At that point, you just connect to the Access database. Like I said, if you need help with that, there's more than a little support on the web for that.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic