Instead of ITypedList, implement ICustomTypeDescriptor on your class. Conrad
>I would like to use databinding to myclass like binding to DataView. As >far as I understand, I have to implement ITypedList in myclass. >To get it working, I also had to implement IListSource and a class that >inherits from PropertyDescriptor and overrides GetValue, SetValue, ... >Now myclass displays its Items in Webcontrol ListBox, but still a lot of >work to do. For example using the property DataMember does not work, >instance of myclass has to have at least one Item to avoid an "Index out >of Range" when DataBind() is called. > >What I am looking for ist a "How To Implement DataBinding Like DataView >For YourClass". >Does anybody know any links? > >cheers, werner You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
