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. Synchronizing dataadapters and bindingsource

Synchronizing dataadapters and bindingsource

Scheduled Pinned Locked Moved Visual Basic
tutorialcsshelpquestion
2 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.
  • L Offline
    L Offline
    larry118
    wrote on last edited by
    #1

    I have a simple problem and find it hard to believe there isn't an article or documentation around on how to solve it. Probably just looking in the wrong place. Anyway I have a form with a grid bound to a table in the dataset. There are several other tables in the dataset which provide detail info for the parent record. My main form has a grid and a tab control. When the user selects a tab a control bound to the original form is added with the detail info from the appropriate table. No problem so far. I just pass the dataset and filter in the new routine of the control. Now when I change recors in the master grid I would like the detail in the loaded control to be synchronized. Anyone have a simple example of this or know an easy to understand article on maintaining concurrency between a form and a loaded control?

    Such a Larry

    D 1 Reply Last reply
    0
    • L larry118

      I have a simple problem and find it hard to believe there isn't an article or documentation around on how to solve it. Probably just looking in the wrong place. Anyway I have a form with a grid bound to a table in the dataset. There are several other tables in the dataset which provide detail info for the parent record. My main form has a grid and a tab control. When the user selects a tab a control bound to the original form is added with the detail info from the appropriate table. No problem so far. I just pass the dataset and filter in the new routine of the control. Now when I change recors in the master grid I would like the detail in the loaded control to be synchronized. Anyone have a simple example of this or know an easy to understand article on maintaining concurrency between a form and a loaded control?

      Such a Larry

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      larry118 wrote:

      Now when I change recors in the master grid I would like the detail in the loaded control to be synchronized.

      Based on what you've said about your detail grid, I would think all you had to do was update the filter with the new parameters.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      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