Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding + Controls
Message
From
14/02/2008 14:22:54
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01292720
Message ID:
01292758
Views:
23
Hi Derek,

Use a copy of the table intstead:
salesperson_combobox.DataSource = SalesPersonTable.Copy();
~~Bonnie



>Binding question:
>
>I have several textboxes bound to a customer DataTable fields (columns).
>
>I have a salesperson combobox bound to a field in the customer DataTable too.
>
>When I set the salesperson_combobox.DataSource = to the salesperson DataTable, the other textboxes are now controlled by position of this combobox (as if it's the navigation control).
>
>When I set salesperson_combobox.BindingContext = New BindingContext() - the combobox no longer controls the nagivation.
>
>How do I limit this default behavior without adding a new BindingContext?
>
>Thanks in advance.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform