Are you using DataGridView, or is GridView a seperate control?

The DataGridView should sort itself when clicking the headers, if it doesn't try looking for an event for "column header click" or something similar and put your code in there. Try looking at the properties of the DataGridView control to see if you have sorting turned off, or clickable headers turned off.