469,586 Members | 2,195 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,586 developers. It's quick & easy.

Combo Box & DatSource

Hi ,
I've 24 Combo Box in a Group , connected to the same DataSource
(ArrayList) : easy way to fill Combo .

The pb i've , is that when i select an item in 1 combo then all other
23 will display the same entry , and of course i don't want that .

Is there something quite simple that i could do force them , not to
sync ?

Thanks
Jacques

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
2 959
i think if u link it via the datasource they are all bound to the same
currencymanager (well i think thats what u call it.. im sure the experts
will correct me on the correct term) , hence all being in sync. Sort of like
how u can control all textboxes to scroll records at the sametime.

You could use the datareader to loop and then append the data to each
different combobox within the same loop.. it shouldnt be linked to any
datasource then...

<Jacques> wrote in message news:OG**************@TK2MSFTNGP10.phx.gbl...
Hi ,
I've 24 Combo Box in a Group , connected to the same DataSource
(ArrayList) : easy way to fill Combo .

The pb i've , is that when i select an item in 1 combo then all other
23 will display the same entry , and of course i don't want that .

Is there something quite simple that i could do force them , not to
sync ?

Thanks
Jacques

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

---
Outgoing mail is certified Virus Free. (well i'd like to think it is.. )
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.723 / Virus Database: 479 - Release Date: 19/07/2004
Nov 20 '05 #2
Hi,

In addition to Mike's comments. The currencymanger will keep the
comboboxes in sync. Create a new dataview for each combobox and bind each
combobox to a different dataview.

Ken
------------------
<Jacques> wrote in message news:OG**************@TK2MSFTNGP10.phx.gbl...
Hi ,
I've 24 Combo Box in a Group , connected to the same DataSource
(ArrayList) : easy way to fill Combo .

The pb i've , is that when i select an item in 1 combo then all other
23 will display the same entry , and of course i don't want that .

Is there something quite simple that i could do force them , not to
sync ?

Thanks
Jacques

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Prakash Wadhwani | last post: by
reply views Thread by Nikolay Petrov | last post: by
2 posts views Thread by biganthony via AccessMonster.com | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.