Click here to Skip to main content
15,890,415 members
Articles / Web Development / ASP.NET

Convert Datatable to Collection using Generic

Rate me:
Please Sign up or sign in to vote.
5.00/5 (7 votes)
16 Aug 2011CPOL 15.4K   6  
Here's a couple of gems...From IList to DataTable.From DataTable to array of T.// DataTable: from IListpublic static DataTable ToDataTable(this IList iList){ DataTable dataTable = new DataTable(); PropertyDescriptorCollection propertyDescriptorCollection = ...

Views

Daily Counts

License

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


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions