combit List & Label 24 - .NET Online Web Help
ApplySort Method
Example 


combit.ListLabel24.DataProviders Namespace > ITable Interface : ApplySort Method
Sort order name as passed by your data provider's SortDescriptions Property.
This method is called to set a sorting on the rows of the table. It will only be called if the SupportsSorting Property returns true. If your data provider doesn't support sorting, you don't need to implement this method and may safely throw a NotImplementedException.
Syntax
'Declaration
 
Sub ApplySort( _
   ByVal sortDescription As String _
) 
void ApplySort( 
   string sortDescription
)
void ApplySort( 
   String^ sortDescription
) 

Parameters

sortDescription
Sort order name as passed by your data provider's SortDescriptions Property.
Example
public void SetSortOrder(string sortOrder)
{
    _dataView.Sort = sortOrder;
}
Public Sub SetSortOrder(sortOrder As String)
    _dataView.Sort = sortOrder
End Sub
Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

ITable Interface
ITable Members