Could you maybe post your code for populating the grid, sorting the grid, and clicking the select button? The only thing I can think of off the top of my head is that you might be repopulating the grid in the Page.Load event and handling the button click while it is in a different order.