Click here to Skip to main content
14,696,481 members
Articles » General Programming » Programming Tips » General » Revisions

Stats

18.9K views
2 bookmarked

Convert Datatable to Collection using Generic

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
13 Aug 2011CPOL
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...

Revisions


  

Compare Revision Minor Date Status Editor
6 - publicly available No 13-Aug-11 14:53 Available Deeksha Shenoy
5 No 13-Aug-11 4:26 Available Vano Maisuradze
4 No 12-Aug-11 5:16 Composing Vano Maisuradze
3 No 12-Aug-11 5:15 Composing Vano Maisuradze
2 No 12-Aug-11 5:15 Composing Vano Maisuradze
1 No 12-Aug-11 5:12 Composing Vano Maisuradze

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

Comments and Discussions