Click here to Skip to main content
16,017,261 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear

All,

I have an excel sheet, in that i have lot data to importing into the oracle database directly thorugh a .net application. Here I have plenty of data in excel sheet, so we have to read this data and inserting into the oracle database directly using .net application. I want a .net application, here we browse that data content excel sheet with browse button, so we have to capture these excel sheet data and inserted into the oracle table directly.

Here data is columns as rows & rows as columns. So how to read in this case.
firstname      vijay        vikram       vikek      varun

lastame        kumar      rathod      goshal    kandari

mobile         45425      456546      54656     454615   

like above my data in excel sheet so how capture this kind of data. please let me know.

please anybody have the solution about my requirement? please let me inform.

In Advance Thanks...
Posted
Updated 21-Jul-12 0:08am
v2
Comments
Chirag Dhangar 23-Mar-14 2:23am    
how can i download this file.....

I would create a DataTable and copy the selected cells to this, then send the data to the Oracle. Other than that, I dont think anybody is likely to give you a complete code that is ready to use.
 
Share this answer
 
Comments
Maria Vinod 25-Jul-12 2:35am    
Thank you very much Kenneth Haugland. I dont ask total code for ready use, but i asked some logic to read columns as rows and rows as columns. i.e, my problem. Am currently using datatable to read that excel data, when coming to insert how to take columns & their data into the database directly... Thank you very much for your valuable response...
Chirag Dhangar 23-Mar-14 2:23am    
how can i dwld this file
Kenneth Haugland 23-Mar-14 3:40am    
???
Maybe call the Oracle loader tool from .NET?
http://docs.oracle.com/cd/E11882_01/server.112/e16536/ldr_concepts.htm#SUTIL003[^]
You're not specifying which version of oracle by the way.

Or this:
http://www.orafaq.com/node/848[^]
 
Share this answer
 
Comments
Maria Vinod 25-Jul-12 2:45am    
thanks for your reply...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900