G
Guest
Hi,
I've got a two-dimensional data structure consisting of an ArrayList of ArrayLists.
Since I want to bind the contained data to a DataGrid server control I've implemented the IEnumerable interface. That work's as desired, i.e. the Current property returns the proper item.
But when I bind the data structure to the DataGrid the desired data items don't appear; instead some ArrayList properties appear as column values, e.g. IsReadOnly, IsSynchronized, IsFixedSize, Capacity, etc.
What am I doing wrong?
Many thanks,
P.
I've got a two-dimensional data structure consisting of an ArrayList of ArrayLists.
Since I want to bind the contained data to a DataGrid server control I've implemented the IEnumerable interface. That work's as desired, i.e. the Current property returns the proper item.
But when I bind the data structure to the DataGrid the desired data items don't appear; instead some ArrayList properties appear as column values, e.g. IsReadOnly, IsSynchronized, IsFixedSize, Capacity, etc.
What am I doing wrong?
Many thanks,
P.