I figured out what I did wrong. I was overriding the ToString function as a
read-only property in my class, not as a function.
"Don" <(E-Mail Removed)> wrote in message
news:K6Nod.308585$Pl.72531@pd7tw1no...
> I created a class that inherits CollectionBase. It is strongly typed,
only
> accepting objects of a specific type. Everything works fine except when
I
> bind the custom collection object to a combobox. Each item in the
combobox
> just shows the name of the type of the objects in the list, not the result
> of the ToString() method for each object in the list. Does anyone know
> what's going on with this or how to fix it?
>
> - Don
>
>
|