Click or drag to resize

CustomLINQtoDataSetMethodsCopyToDataTable2T(IEnumerableT) Method

Create a new DataTable from a sequence of objects

Namespace: Seal.Helpers
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public static DataTable CopyToDataTable2<T>(
	this IEnumerable<T> source
)

Parameters

source  IEnumerableT
 

Type Parameters

T

Return Value

DataTable

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also