O'Reilly logo

Active Server Pages 3.0 from Scratch by Nicholas Chase

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Category Listings

When we first come to the store, we of course will want to know what's for sale. Because we're concentrating on the technology, we won't worry too much about the presentation, but we will need a single start page for the store, in this case bazaar.asp. This page can have any specials that we're running, but should also list (at a minimum) the categories of products that we have for sale. We already have a file called bazaar.asp in the bazaar directory, but let's overwrite it with a copy of template.asp anyway because it already has the database information that we need. We customize bazaar.asp for the Bazaar and add the category listings in Listing 7.2.

Code Listing 7.2. bazaar.asp: Adding Category Listings
 0: <%@ LANGUAGE="VBSCRIPT" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required