example with up/down images

March 25, 2004 by Marcellino Bommezijn

Create your SQL statement where your SORT BY clause is variable and determined by your QueryString:

In your webpage you use an up/down image for each column you want to be sortable, so the user can select ASC/DESC for a specific column:

On the up/down images you create hyperlinks that reload the page with the ASC/DESC QueryString:

<a href="Resultpage.asp?sort=DESC"><img src="up.gif" alt="DESC"></a>

<a href="Resultpage.asp?sort=ASC"><img src="down.gif" alt="ASC"></a>

Could you make this an extension

January 5, 2005 by Daniel Hovis
This would be a great simple extension that I have seen others charge for...