dotConnect for DB2 Documentation
Devart.Common Namespace / DbDataTable Class / Select Method / Select(String,String) Method
The criteria to use to filter the rows.
A string specifying the column and sort direction.

In This Topic
    Select(String,String) Method
    In This Topic
    Gets an array of all DataRow objects that match the filter criteria, in the specified sort order.
    Syntax
    'Declaration
     
    Public Overloads Shadows Function Select( _
       ByVal filterExpression As String, _
       ByVal sort As String _
    ) As DataRow()
    public new DataRow[] Select( 
       string filterExpression,
       string sort
    )

    Parameters

    filterExpression
    The criteria to use to filter the rows.
    sort
    A string specifying the column and sort direction.

    Return Value

    An array of DataRow objects matching the filter expression.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also