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. Table Update Via Table Adapter

Table Update Via Table Adapter

Scheduled Pinned Locked Moved C#
csshelptutorialannouncement
2 Posts 1 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
    mfcuser
    wrote on last edited by
    #1

    The following code work, but for any reason, the data did not save on the table. I can look at the data on the grid, but it is not saved. table1TableAdapter.Insert("name1", "name2", "name3"); table1TableAdapter.Update(db1DataSet1.Table1); the data did not save on the table. I want to know why and how to fix it.

    M 1 Reply Last reply
    0
    • M mfcuser

      The following code work, but for any reason, the data did not save on the table. I can look at the data on the grid, but it is not saved. table1TableAdapter.Insert("name1", "name2", "name3"); table1TableAdapter.Update(db1DataSet1.Table1); the data did not save on the table. I want to know why and how to fix it.

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

      The datble did update. There was a directory problem. Visual studio keeps two copy of the database and only one was updated. The only problem is that it keeps updating on the same row. I want it to update the nextrow thereafter.

      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