I want to bind a generic list to a grid view but the columns can't all be defined as properties because they will be dynamic. Is this possible. It seems it should be since we can bind to a DataTable and other generic items which use this[string property] type accessorts.
1 Answer, 1 is accepted
answered on 13 Oct 2009, 11:43 AM
Your T items in your generic list must implement ICustomTypeDescriptor interface like DataRowView object used in DataTable and DataView data objects.