Link to home
Start Free TrialLog in
Avatar of jholden022500
jholden022500

asked on

Java App - how export data to MS Excel

I need the code to export data to an MS Excel file and open the file up from a Java app. The data would be contained in say for example a 2d array.
Does anyone have this?
Avatar of Oliver_Dornauf
Oliver_Dornauf
Flag of Afghanistan image

ASKER CERTIFIED SOLUTION
Avatar of vasan_sr
vasan_sr

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vasan_sr
vasan_sr

Thanks jholden
Getting SQLExceptions like the following

java.sql.SQLException: [Microsoft][ODBC Excel Driver] The INSERT INTO statement contains the following unknown field name:

java.sql.SQLException: [Microsoft][ODBC Excel Driver] Number of query values and destination fields are not the same.


Is there any other configuration that needs to be done