udaparts.com Forum Index udaparts.com
Supports for UDAParts' Products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Excel to Sql

 
Post new topic   Reply to topic    udaparts.com Forum Index -> OleDBPro and OleDBProNet
View previous topic :: View next topic  
Author Message
mwheeler2k3



Joined: 19 Nov 2006
Posts: 46

PostPosted: Mon Mar 08, 2010 11:22 pm    Post subject: Excel to Sql Reply with quote

Do you have an example for loading an Excel spreadsheet to an Sql table.

Michael
Back to top
View user's profile Send private message
charlieye



Joined: 02 Nov 2006
Posts: 327

PostPosted: Tue Mar 09, 2010 12:53 pm    Post subject: classic ADO sample code on Internet Reply with quote

Hi, mwheeler2k3:

You can use MS JET provider to import data from different types of text files (txt, csv.xls, html, ......) into any databases you like. This is an easy job but a tedious work.

I did this type of work long time ago. I don't have existing code for you.

You can use search engines to search for key words like ADO (OLEDB) + import + txt, xls files.

http://www.google.com/search?hl=en&q=ado+import+text,+xls+file&btnG=Search&aq=f&aqi=&aql=&oq=

http://www.google.com/search?hl=en&q=OLEDB+export+records+into+txt,+csv,+xls+files&aq=f&aqi=&aql=&oq=

You will get tons of sample codes.

Wish the above hints are useful to you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    udaparts.com Forum Index -> OleDBPro and OleDBProNet All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group