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. C#
  4. Merging DataSets and committing changes + help please.

Merging DataSets and committing changes + help please.

Scheduled Pinned Locked Moved C#
comalgorithmshelpquestion
3 Posts 2 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.
  • N Offline
    N Offline
    Naveed Kamboh
    wrote on last edited by
    #1

    Hi Friends, I want to merge to dataset i.e ds1 into ds2 and commit changes in ds2. I managed to merge but its not commiting changes Any help Please?

    Naveed Kamboh Complexity kills, Write easy code for your self. Cash-time

    M 1 Reply Last reply
    0
    • N Naveed Kamboh

      Hi Friends, I want to merge to dataset i.e ds1 into ds2 and commit changes in ds2. I managed to merge but its not commiting changes Any help Please?

      Naveed Kamboh Complexity kills, Write easy code for your self. Cash-time

      M Offline
      M Offline
      Muammar
      wrote on last edited by
      #2

      Try this.


      Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

      N 1 Reply Last reply
      0
      • M Muammar

        Try this.


        Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

        N Offline
        N Offline
        Naveed Kamboh
        wrote on last edited by
        #3

        I guess I didn't explain my problem v.well. Basicaly i have 2 data bases each datbase got 1 table with same schema. first database table has got 20 rows while 2nd Database has got 5 records I want to insert other 15 records from first database to 2nd database I opened two connection connectino 1 and Connection with databaeses respectively and filled 2 DataSets ds1 and ds2 respectively. I am merging datasets as ds2.Merger(ds1); its showing 20 records in ds2 also but its not updating those records in Databaset it showin in debugging mode only. How can I update those to database. thanks.

        Naveed Kamboh Complexity kills, Write easy code for your self. Cash-time

        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