B
Brian
I have a Collection of custom objects (MyObject) that I am trying to
databind to a ListBox.
It works every other time I call ListBox1.DataSource = MyObjectCollection
I have set the DisplayMember to Name, which is a property of MyObject, the
one that I want to show. Sometimes it works and sometime I get a bunch of
Assembly.NameSpace.MyObject items in there?
Any idea what I am doing wrong, or how I can get around this?
Thanks
databind to a ListBox.
It works every other time I call ListBox1.DataSource = MyObjectCollection
I have set the DisplayMember to Name, which is a property of MyObject, the
one that I want to show. Sometimes it works and sometime I get a bunch of
Assembly.NameSpace.MyObject items in there?
Any idea what I am doing wrong, or how I can get around this?
Thanks