By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,515 Members | 1,042 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,515 IT Pros & Developers. It's quick & easy.

Combo Box & DatSource

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.