Converting a EditableList to a DataTableConverting a EditableList to a DataTable
Old forum URL: forums.lhotka.net/forums/t/2037.aspx
hpatel posted on Wednesday, December 27, 2006
Is there a way to convert an Editable List to a DataTable.
Thanks in Advance,
Hiren Patel
Brian Criswell replied on Thursday, December 28, 2006
There is nothing built in, but there is nothing stopping you from using reflection to get the property types of an item in the list and using that to build the DataTable which you then fill from the list using reflection.
JoeFallon1 replied on Thursday, December 28, 2006
Did you look into the ObjectAdapter class?
Copyright (c) Marimer LLC