I have a DataGridView column header. When I click that header, the data is resorted according to the value.
DataGridView
I don\'t want that.
DataGrid>
You have to set that on the columns. For example,
dataGridView1.Columns["MyColumn"].SortMode = DataGridViewColumnSortMode.NotSortable;