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. Excel Data to Sql Database

Excel Data to Sql Database

Scheduled Pinned Locked Moved Visual Basic
databasetutorialquestion
6 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.
  • D Offline
    D Offline
    DrukenProgrammer
    wrote on last edited by
    #1

    Hello Experts!! I am creating 2 datasets after retreiving infromation from excel sheet, now i want to store these datasets in a sql database. any ideas how to get this done? Thanks in Advance!!

    D W 2 Replies Last reply
    0
    • D DrukenProgrammer

      Hello Experts!! I am creating 2 datasets after retreiving infromation from excel sheet, now i want to store these datasets in a sql database. any ideas how to get this done? Thanks in Advance!!

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      Anything you tried??

      "If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be 'meetings'." - Dave Barry

      D 1 Reply Last reply
      0
      • D dan sh

        Anything you tried??

        "If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be 'meetings'." - Dave Barry

        D Offline
        D Offline
        DrukenProgrammer
        wrote on last edited by
        #3

        I tried sqlbulkcopy and doesnt look good for me...

        1 Reply Last reply
        0
        • D DrukenProgrammer

          Hello Experts!! I am creating 2 datasets after retreiving infromation from excel sheet, now i want to store these datasets in a sql database. any ideas how to get this done? Thanks in Advance!!

          W Offline
          W Offline
          Wendelius
          wrote on last edited by
          #4

          Perhaps SqlDataAdapter Class[^] Mika

          D 1 Reply Last reply
          0
          • W Wendelius

            Perhaps SqlDataAdapter Class[^] Mika

            D Offline
            D Offline
            DrukenProgrammer
            wrote on last edited by
            #5

            I will try this in the morning tomorrow and let you know, can you type in 2 lines of code showing it with SqlDataAdapter? I am not sure of the properties of it. Thanks Mika!

            W 1 Reply Last reply
            0
            • D DrukenProgrammer

              I will try this in the morning tomorrow and let you know, can you type in 2 lines of code showing it with SqlDataAdapter? I am not sure of the properties of it. Thanks Mika!

              W Offline
              W Offline
              Wendelius
              wrote on last edited by
              #6

              You're welcome. You'll get a good starting point from here SqlDataAdapter.InsertCommand Property[^] Mika

              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