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. Web Development
  3. ASP.NET
  4. How to insert data into database from data set or datatable

How to insert data into database from data set or datatable

Scheduled Pinned Locked Moved ASP.NET
helpdatabasetutorial
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.
  • M Offline
    M Offline
    micydon
    wrote on last edited by
    #1

    Hi I hve loaded a data table with values from a database. I want to insert these values into another table in database. How can we insert data directly from datatable into database. Can anybody help me to solve this problem.

    L N 2 Replies Last reply
    0
    • M micydon

      Hi I hve loaded a data table with values from a database. I want to insert these values into another table in database. How can we insert data directly from datatable into database. Can anybody help me to solve this problem.

      L Offline
      L Offline
      leckey 0
      wrote on last edited by
      #2

      Are you just moving data from table1 to table2? Are there changes to the data in the datagrid before saving to table2? I'm just trying to figure out why you need the datagrid if you are just migrating data...

      1 Reply Last reply
      0
      • M micydon

        Hi I hve loaded a data table with values from a database. I want to insert these values into another table in database. How can we insert data directly from datatable into database. Can anybody help me to solve this problem.

        N Offline
        N Offline
        Not Active
        wrote on last edited by
        #3

        This doesn't have anything to do with ASP.NET. Try the SQL/ADO/ADO.NET forum.

        only two letters away from being an asset

        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