title: Gridview Sorting With Images
body: <p>I have a web app(ASP.NET 2.0 with C#), and in it I have a gridview that gets its data from an oracle database. </p>
  
  <p>I needed to implement the sort function for the gridview, so I added a dropdownmenu right above the gridview with 2 choices: Ascending and Descending. Then in the <code>Gridview_Sorting</code> method, I have a switch statement that basically checks the selection on the dropdown menu, and sorts accordingly. </p>
  
  <p>This works, but I want to be able to click it once, and it sorts one way, then click it again, and it sorts the other way. Another thing I'd like to have would be images beside the column names that tell you which direction the data is sorted in. </p>
  
  <p>Any suggestions?
  Thank you.</p>