I have an strongly typed DataTable of type MyType, I\'d like convert it in a List.
MyType
List
How can I do this ?
Thanks.
Try this code and This is easiest way to convert datatable to list
List listtablename = dataTablename.AsEnumerable().ToList();