This question is locked. New answers and comments are not allowed.
Hi everybody,
I am searching for help with binding as I am not strong in that area.
I have custom class representing a table and I need to bind that as a source of gridview.
Is it possible to use the autogeneratecolumns option with such structure? I think I need to implement some interface. I can add anything to the code, but cannot change the whole concept.
Thanks for help.
I am searching for help with binding as I am not strong in that area.
I have custom class representing a table and I need to bind that as a source of gridview.
public class DynamicRow : Dictionary<string, object>{ // custom methods}public class DynamicTable : List<DynamicRow>{ private Dictionary<string, Type> columns = new Dictionary<string, Type>(); // custom methods}Is it possible to use the autogeneratecolumns option with such structure? I think I need to implement some interface. I can add anything to the code, but cannot change the whole concept.
Thanks for help.