Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataTableExtensions::CopyToDataTable Method

 

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

Namespace:   System.Data
Assembly:  System.Data.DataSetExtensions (in System.Data.DataSetExtensions.dll)

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

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

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

Return to top
Show:
© 2017 Microsoft