Hi guys,
I have two classes, clsA and clsB, which both inherit clsLetter. clsLetter contains a bindinglist that will contain either clsA or clsB objects.
I want to be able to declare this list as bindinglist(of clsLetter) at design time and then at run time assign that bindinglist a new bindinglist(of clsA/ clsB).
Now i know that I can use the Ibindinglist interface in the declaration but this provides me with other issues in displaying data (it will only show the properties of clsLetter, not of clsA or clsB).
Is there a way to do this? Why is it that bindinglists don't see inherited types?
Thanks,
Dane.
I have two classes, clsA and clsB, which both inherit clsLetter. clsLetter contains a bindinglist that will contain either clsA or clsB objects.
I want to be able to declare this list as bindinglist(of clsLetter) at design time and then at run time assign that bindinglist a new bindinglist(of clsA/ clsB).
Now i know that I can use the Ibindinglist interface in the declaration but this provides me with other issues in displaying data (it will only show the properties of clsLetter, not of clsA or clsB).
Is there a way to do this? Why is it that bindinglists don't see inherited types?
Thanks,
Dane.