Combobox changes data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamesm6162
    New Member
    • Mar 2007
    • 16

    Combobox changes data

    Hi

    I'm very new to VB.

    I have a few combobox linked to a datasource with a memberbinding source.
    But everytime i select a different record in the combobox it not only moves to the selected record, but also changes the old record (that i had selected) to the new value.

    Why does it do this and how can I stop it from happening.

    Thanks
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Are you using any data control /adodc for data connection to the database .

    Comment

    • jamesm6162
      New Member
      • Mar 2007
      • 16

      #3
      Yes i am, in fact i didn't use any code at all.
      I just selected a new data source from the Data menu and basically dragged the icon of the datasource from the data sources explorer window onto my form.

      The components appeared automatically. They are the Dataset, MemberBindingSo urce, MemberTableAdap ter, and MemberBindingNa vigator.

      So I ended up with a grid, a few edit boxes and comboboxes on my form.

      Comment

      Working...