CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #2
    Join Date
    Mar 2008
    Location
    Atlanta, GA
    Posts
    49

    Re: .NET DataBinding oddity

    Self reply inc!

    http://weblogs.asp.net/grobinson/arc.../11/27127.aspx

    Seems this individual has the same problem and essentially the same workaround.

    One of the comments:

    I actually figured it out. When you set the DataSource property on a control. behind the scenes, a binding type is created. So, in our case, all 4 comboboxes are bound to the same datasource so of course they will stay in synch. My work around was to get a copy of the Datasource for each control.
    The CurrencyManager only keeps the Position for one instance of the bound collection, so that's why changing one affected the other.
    Last edited by opedog; April 24th, 2008 at 02:08 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured