In the due course in the code...I had to add an item into one combo box...but I don't want it to be reflected into any other combo boxes...How should I do that...
As when I'm trying to add an item...it is being shown in all the combo boxes.
Expand|Select|Wrap|Line Numbers
- private void FillMethod()
- {
- BindingSource bs = new BindingSource();
- BindingSource bs1 = new BindingSource();
- BindingSource bs2 = new BindingSource();
- List<string> list = Filldata();
- bs.DataSource = list;
- bs1.DataSource = list;
- bs2.DataSource = list;
- comboBox1.DataSource = bs;
- comboBox2.DataSource = bs1;
- comboBox3.DataSource = bs2;
- combobox1.items.add("sai");
- }