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. Create database table directly from a dataset which has many no. of data table [modified]

Create database table directly from a dataset which has many no. of data table [modified]

Scheduled Pinned Locked Moved Visual Basic
helpdatabasexml
5 Posts 4 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.
  • S Offline
    S Offline
    snehasish
    wrote on last edited by
    #1

    hi, my problem is that..... Recently i get a complex xml.Which have huge no of data.When i read xml by dataset i get 6 realated tables.Each have 10 to 20 no of coloumn.so i want to directly move this data to sqlserver database. please help me :( :((

    modified on Wednesday, October 1, 2008 5:12 AM

    C 1 Reply Last reply
    0
    • S snehasish

      hi, my problem is that..... Recently i get a complex xml.Which have huge no of data.When i read xml by dataset i get 6 realated tables.Each have 10 to 20 no of coloumn.so i want to directly move this data to sqlserver database. please help me :( :((

      modified on Wednesday, October 1, 2008 5:12 AM

      C Offline
      C Offline
      C1AllenS
      wrote on last edited by
      #2

      Hello, So you basically wants to move the XML data into the SQL server. If you are trying to do this through code, then you can have a look at the given web link which should give you some fair idea on how to achieve this. http://www.dbazine.com/sql/sql-articles/cook2[^] Hope this will help. Regards,

      Allen Smith ComponentOne LLC www.componentone.com

      S R 2 Replies Last reply
      0
      • C C1AllenS

        Hello, So you basically wants to move the XML data into the SQL server. If you are trying to do this through code, then you can have a look at the given web link which should give you some fair idea on how to achieve this. http://www.dbazine.com/sql/sql-articles/cook2[^] Hope this will help. Regards,

        Allen Smith ComponentOne LLC www.componentone.com

        S Offline
        S Offline
        snehasish
        wrote on last edited by
        #3

        hi Allen, Thanks for your suggestion.I think it will work if i create related table first. But i do not want to create table by myself.i want something dynamically to store it from dataset to database. Hope you help me again.

        P 1 Reply Last reply
        0
        • C C1AllenS

          Hello, So you basically wants to move the XML data into the SQL server. If you are trying to do this through code, then you can have a look at the given web link which should give you some fair idea on how to achieve this. http://www.dbazine.com/sql/sql-articles/cook2[^] Hope this will help. Regards,

          Allen Smith ComponentOne LLC www.componentone.com

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

          you can insert xml file directly to sql server. for this you can see How to insert XML data in sql server database through visual basic .net may be you have to work through it if you got big xml but it is very handy way of getting your xml data in database.

          Blog for Programmers

          1 Reply Last reply
          0
          • S snehasish

            hi Allen, Thanks for your suggestion.I think it will work if i create related table first. But i do not want to create table by myself.i want something dynamically to store it from dataset to database. Hope you help me again.

            P Offline
            P Offline
            Paddy Boyd
            wrote on last edited by
            #5

            You just need to issue a create table statement first, surely...

            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