|More info for:||Harry Potter 5 - hardback|
|To see the ASP source for this page click here|
This page illustrates a very simple look up of information in a database.
The page displays more information about a part. The part is specified in the URL
as a "QueryString" parameter, eg
Note that the script copes with two errors reasonably gracefully. First, if no id is given then "No id specified" is reported. Second, if the part id is not found then "Sorry, part id not found: xxx" is returned. Although these errors should not appear in practice, it is best to have this code so that any bugs are caught neatly.