Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataTableExtensions Methods

The DataTableExtensions type exposes the following members.

  Name Description
Public method Static member AsDataView(DataTable) Creates and returns a LINQ-enabled DataView object.
Public method Static member AsDataView<T>(EnumerableRowCollection<T>) Creates and returns a LINQ-enabled DataView object representing the LINQ to DataSet query.
Public method Static member AsEnumerable Returns an IEnumerable<T> object, where the generic parameter T is DataRow. This object can be used in a LINQ expression or method query.
Public method Static member 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 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 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
Show:
© 2014 Microsoft. All rights reserved.