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: