DataTableExtensions Class
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Defines the extension methods to the DataTable class. DataTableExtensions is a static class.
Assembly: System.Data.DataSetExtensions (in System.Data.DataSetExtensions.dll)
Name | Description | |
---|---|---|
![]() ![]() | AsDataView(DataTable) | Creates and returns a LINQ-enabled DataView object. |
![]() ![]() | AsDataView(Of T)(EnumerableRowCollection(Of T)) | Creates and returns a LINQ-enabled DataView object representing the LINQ to DataSet query. |
![]() ![]() | AsEnumerable(DataTable) | Returns an IEnumerable(Of T) object, where the generic parameter T is DataRow. This object can be used in a LINQ expression or method query. |
![]() ![]() | CopyToDataTable(Of T)(IEnumerable(Of T)) | Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable(Of T) object where the generic parameter T is DataRow. |
![]() ![]() | CopyToDataTable(Of T)(IEnumerable(Of T), DataTable, LoadOption) | Copies DataRow objects to the specified DataTable, given an input IEnumerable(Of T) object where the generic parameter T is DataRow. |
![]() ![]() | CopyToDataTable(Of T)(IEnumerable(Of T), DataTable, LoadOption, FillErrorEventHandler) | Copies DataRow objects to the specified DataTable, given an input IEnumerable(Of T) object where the generic parameter T is DataRow. |
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.