Click here to Skip to main content
12,509,509 members (56,896 online)
Click here to Skip to main content

Stats

14.3K views
2 bookmarked
Posted

Convert Datatable to Collection using Generic

, 13 Aug 2011 CPOL
Very nice!I've modified ToCollection(this DataTable dt) extension function, so if DataTable column names and class property names are different, then you can use this alternative:public static List ToCollection(this DataTable table, Dictionary dic){ List lst = new...

Views

Downloads

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Vano Maisuradze
Architect
Georgia Georgia
No Biography provided

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160927.1 | Last Updated 13 Aug 2011
Article Copyright 2011 by Vano Maisuradze
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid