I have 2 Listbox on different tabpages that uses the same datasource
Basically its tabpage1 + listbox1 and tabpage2 + listbox2
I'm trying to do the following :
When I select Item from listbox1 on tabpage1 , I want the same item selected to listbox2 on tabpage2
I tried this:
listbox1.SelectedItem = listBox2.SelectedItem;
also this :
string sitem = "";
sitem = listbox1.SelectedItem.ToString();
listbox2.SelectedItem = sitem
nothing works as expected, I'm wondering if its possible ?