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

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

    Parameters

    filterExpression
    The criteria to use to filter the rows.
    sort
    A string specifying the column and sort direction.
    recordStates
    One of the DataViewRowState values.

    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