Results 1 to 3 of 3

Thread: import data from an Excel sheet to the database

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    India
    Posts
    3

    Smile import data from an Excel sheet to the database

    I want to import data from an Excel sheet to the database , for which I need to read the Excel file and insert the data into the database.
    How do I do it?
    Is there any other way of doing it?

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    There's two ways I know of:

    1. Set a reference to Excel's Object library, then you can automate it - Dim x as Excel.Application, etc.

    2. There's an driver or provider you can use with ADO like the spreadsheet was a database.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    India
    Posts
    3
    Hi Josh And Gaffer!
    Thanks a lot for your prompt reply.
    I had done it the way you have told When i saw your reply.
    Iam working in Tata Consultancy Services(INDIA).
    I have worked on Java , XML and right now Iam placed in a project with ASP , VB and Oracle8.i
    How about you?

    Thanks&Regards,
    Kunwar Gadhok
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width