Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

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...

Statistics


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
Software Developer (Senior)
Georgia Georgia
No Biography provided

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