|
-
Sep 4th, 2002, 03:33 PM
#1
Thread Starter
Member
Sorting Data on Web Pages
Hi;
I am kind of new to the Web and I would like to know how to sort records on the web page.
For example, if we have some addresses displays on the ASP Page and if we would like to sort them in different order; How can it be done? When we do this, "Does it make another trip to the Server/Database? If we can get the recordset as XML data, Is there any Advantage?"
thanks
Jacob
-
Sep 4th, 2002, 06:50 PM
#2
PowerPoster
When getting the data from the database append 'ORDER BY fieldname ' then either leave blank for ascending or enter DESC for descending to your SQL statement
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|