DataTable.Select Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets an array of all DataRow objects.

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

member Select : unit -> DataRow[]

Return Value

Type: System.Data.DataRow[]

An array of DataRow objects.

To ensure the proper sort order, specify sort criteria with Select or Select.

The following example returns an array of DataRow objects through the Select method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: