ow do i copy the contents from one dropdown box into another dropdown box?

Posted by Shreesh under C# on 11/2/2011 | Points: 10 | Views : 1074 | Status : [Member] | Replies : 1
how do i copy the contents from one dropdown box into another dropdown box? this is without using a database.i have just added the items and when i select one item it should be copied or occur in the second dropdown list? can anyone suggest a method?




Responses

Posted by: Jpchoudhari on: 11/3/2011 [Member] Starter | Points: 25

Up
0
Down
u can do that on selection changed event of the first combo box.

comboBox2.Items.Add(comboBox1.SelectedItem);



Kind Regards,
Jay

Shreesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response