Populate a combo box witht the selected values of multiple comboboxes

D

dileep.tamuk

Hi,

I need help regarding the combox and arraylist implementation.
Basically, it is a windows application but behaves more like Web app.

In my implementation of a Windows App, I have 3 comboboxes(for e.g
Combobox1, Combobox2, Combobox3) with data from different source
tables for each combobox. And in the menu toolbar, there is a menu-
item which has another combo box(Combobox4) . What I need is , if
there are any selected values in the 3 combo boxes , I need to display
it in the Combobox4, separated by a coma or hyphen(much like
Combobox1.SelectedValue-Combobox2.SelectedValue -
Combobox3.SelectedValue ) . So, the object for the Combobox4 should
hold all the selected values of the combo boxes(1,2,3). This is the
first transaction. In the following transactions, I need to populate
all the selections uptill the previous transaction and show them in
the Combobox4.

So, I guess I need to use an arraylist which holds all the data uptill
the previous transaction and keep on ading to it all the selected
values. But, I have no idea how it can be achieved using an array
list.

Can anyone put some ideas. Any help is appreciated.


Dileep
 
D

dileep.tamuk

Thanks for the reply. It worked..............Also, can we get the
contents into thtree seperate boxes based on the selected index of the
combobox4...............Please help me in this
regard...................
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top