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.
Happy Programming :)
What do you think? I would like to hear your thoughts, suggestions, and questions in the comments section below.