I have a Winforms application with a DataGridView.
The DataSource of the grid is set to a BindingSource. The DataSource of the BindingSource is a collection of objects, which implements the IBindingList interface. (Actually a SortableBindingList class based on a sample).
If I try to set the property AllowUserToAddRows on the grid, I get an error message "Property value is not valid" with additional details "Conversion from type 'Bitmap' to type 'Integer' is not valid."
Some of the columns in the grid show images, which are read-only.
What is this error message trying to tell me?
Are there some restrictions on the use of the property AllowUserToaddRows?
If it refers to a specific column in the grid, or a property in the class representing a row, how can I find out which column or property is causing the problem?