Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Importing Excel files to SQL database using VB.Net.

Importing Excel files to SQL database using VB.Net.

Scheduled Pinned Locked Moved Visual Basic
databasecsharp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alan Greenleaf
    wrote on last edited by
    #1

    If anyone out there has some good code for importing Excel files into a SQL database using VB.Net, can you please share it so i can use it in my project. Basically what i want is an open file dialog to where you can select the file to import and a combo box display the different sheets of the file. Thanks.

    A R 2 Replies Last reply
    0
    • A Alan Greenleaf

      If anyone out there has some good code for importing Excel files into a SQL database using VB.Net, can you please share it so i can use it in my project. Basically what i want is an open file dialog to where you can select the file to import and a combo box display the different sheets of the file. Thanks.

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      Try a search here on CP, here are lots of articles about doing this

      Bob Ashfield Consultants Ltd

      1 Reply Last reply
      0
      • A Alan Greenleaf

        If anyone out there has some good code for importing Excel files into a SQL database using VB.Net, can you please share it so i can use it in my project. Basically what i want is an open file dialog to where you can select the file to import and a combo box display the different sheets of the file. Thanks.

        R Offline
        R Offline
        rprateek
        wrote on last edited by
        #3

        Try the following link this might help Read excel File from VB You have to work around a bit in .Net but it will definately help for excel and for database insert browse the blog or go in the following link How to insert records in Sql Server from VB.Net ?

        Blog for Programmers http://www.rprateek.blogspot.com

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups