Hi Stanley
Thank you for your update.
The reason is that you try to bind a IList with list of different derived class objects( obj1 and obj2). When you try to bind a BindingList(any List) with list of derived class objects, Grid will start binding the list of object of type same as the type of first item in the list. Then it will expect the remaining objects in the list to be of same type. You can bind the different derived class objects(derived from same base or abstract class) to the same Grid, you need to bind the grid to the BaseClass object, since derived class objects can be refered by its BaseClassType object. In your sample, you can achieve this by binding the empty BindingList
to the grid in the form load or anywhere before populating the BindingList.
Here is the modified sample:
Modified_Sample
Best regards,
Haneef