Pages

Tuesday, November 23, 2010

C# Datagridview Disable Sorting.

To Disable sorting in DataGridView.Do the following.


To manually disable sorting do the following.
Column1.SortMode = DataGridViewColumnSortMode.NotSortable;

No comments: