DataGridView::Sort Method
.NET Framework (current version)
Sorts the contents of the DataGridView control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() | Sort(DataGridViewColumn^, ListSortDirection) | Sorts the contents of the DataGridView control in ascending or descending order based on the contents of the specified column. |
![]() | Sort(IComparer^) | Sorts the contents of the DataGridView control using an implementation of the IComparer interface. |
Show:
