Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataTableExtensions.CopyToDataTable Method

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member Supported by the .NET Compact Framework CopyToDataTable<T>(IEnumerable<T>) Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.
Public method Static member Supported by the .NET Compact Framework CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.
Public method Static member Supported by the .NET Compact Framework CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.
Top

Community Additions

ADD
Show:
© 2015 Microsoft