Wimark.Controls Class Library  

DataGridView.Sort Method

Sorts the contents of the DataGridView control using an implementation of the IComparer interface.

Overload List

Sorts the contents of the DataGridView control using an implementation of the IComparer interface.

[Visual Basic] Overloads Public Sub Sort(IComparer, Boolean)
[C#] public void Sort(IComparer, bool);
[C++] public: void Sort(IComparer*, bool);

Sorts the contents of the DataGridView control in ascending or descending order based on the contents of the specified column.

[Visual Basic] Overloads Public Sub Sort(DataGridViewColumn, ListSortDirection, Boolean)
[C#] public void Sort(DataGridViewColumn, ListSortDirection, bool);
[C++] public: void Sort(DataGridViewColumn*, ListSortDirection, bool);

See Also

DataGridView Class | DataGridView Members | Wimark.Controls Namespace