Hi
I'm trying to display Key/Value Pairs from a Dictionary to a ListBox.
Key Value
A 10
B 20
C 30
I want to display them in a ListBox in following format
A(10)
B(20)
C(30)
Using following code I have been able to link Listbox.Datasource to Dictionary.
myListBox.DataSource = new BindingSource(myDictionary, null);
Its being displayed as
[A, 10]
[B, 20]
[C, 30]
I can't figure out how to format it so that it is displayed in the way I want.
Any help will be appreciated.
Thanks Ashish