PC Review


Reply
Thread Tools Rate Thread

Assign New CurrencyManager?

 
 
Hemang Shah
Guest
Posts: n/a
 
      10th Feb 2005
I have the in famous multi combo on the form bound to the same DataSource
Issue.

I have a dvLookup which is used in multiple comboboxes to do the lookups.

How because they are all having the same DataSource: dvLookup, they have the
same currencymanager.

So selecting one option makes everyone select the same thing.

Now It would be insane to create different DataView for the exact data just
to bind to multiple combos.

Is there a way I can assign a new BindingContext or CurrencyManager to each
combo boxes ?

Any suggestions are welcome.

Thank You


 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWF0dCBHYXJ2ZW4=?=
Guest
Posts: n/a
 
      10th Feb 2005
From memory, if you assign the ComboBox a new instance of a BindingContext
before it becomes visible it should have the effect you desire.

"Hemang Shah" wrote:

> I have the in famous multi combo on the form bound to the same DataSource
> Issue.
>
> I have a dvLookup which is used in multiple comboboxes to do the lookups.
>
> How because they are all having the same DataSource: dvLookup, they have the
> same currencymanager.
>
> So selecting one option makes everyone select the same thing.
>
> Now It would be insane to create different DataView for the exact data just
> to bind to multiple combos.
>
> Is there a way I can assign a new BindingContext or CurrencyManager to each
> combo boxes ?
>
> Any suggestions are welcome.
>
> Thank You
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# insertion of a record with CurrencyManager AddNew() method during the insertion of a father table record (with CurrencyManager AddNew() too) polocar Microsoft C# .NET 0 27th Sep 2006 06:51 PM
CurrencyManager Joe Microsoft ADO .NET 1 1st Dec 2005 01:47 AM
CurrencyManager web1110 Microsoft C# .NET 2 31st Mar 2005 12:52 AM
Assign New CurrencyManager? Hemang Shah Microsoft Dot NET Framework Forms 1 10th Feb 2005 02:27 AM
currencyManager Joe Abou Jaoude Microsoft Dot NET Compact Framework 18 15th Oct 2004 11:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 PM.