954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Insert rows from Excel Sheet into SQL database by browsing the file

hello, all I am trying to insert rows from Excel sheet into SQL database by browsing Excel file in java(JSP). I can insert rows using ODBC connetion. But using odbc user should give DSN in program. I need to insert rows by Browsing file to make it user friendly.i.e user should browse the existing excel file and then on submission of form, value should get insert into a database. please provide me the code snippet... thanx in advance

ananyaholla
Newbie Poster
1 post since Jan 2012
Reputation Points: 10
Solved Threads: 0
 

I think that you should have posted this in the JSP forum

zeroliken
Veteran Poster
1,106 posts since Nov 2011
Reputation Points: 201
Solved Threads: 162
 
think that you should have posted this in the JSP forum


Please report such posts instead of replying to them. This will ensure that the post doesn't lose its meaning after the thread move is done.

~s.o.s~
Failure as a human
Administrator
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
 
hello, all I am trying to insert rows from Excel sheet into SQL database by browsing Excel file in java(JSP). I can insert rows using ODBC connetion. But using odbc user should give DSN in program. I need to insert rows by Browsing file to make it user friendly.i.e user should browse the existing excel file and then on submission of form, value should get insert into a database. please provide me the code snippet... thanx in advance

1) Forum rules, which I'm sure you read before posting, clearly states that you need to show some effort as we are not 24/7 coding solution (if we were we would be running a company and you will have to pay us)
2) Above problem doesn't make any sense. Are you trying to create some interactive excel document like Google have in their Documents and somehow to store data in database or you just want user to upload excel document and your application will read it and store data in database

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: