February 09, 2015 by Anuraj Estimated read time : 1 min
.Net.Net 3.0 / 3.5.Net 4.0ASP.NetWindows Forms
Code snippet for converting a DataTable to Generic List.
You can use this as an extension method to the Data Table class. By providing the mapping dictionary, the consumer class can decide which all columns / properties need to participate in the conversion.