RenderSearchResults and RenderSearchResultRow

RenderSearchResults and RenderSearchResultRow

The routines RenderSearchResults and RenderSearchResultRow are found in the include file catalog.asp. The former routine either returns a string indicating that no matches were found, or builds up a string consisting of:

  • A line reporting the number of matches found.
  • An HTML formatted line with one of the search results for each record in the passed RecordSet object. This is accomplished by calling the routine RenderSearchResultRow, which formats the line appropriating for the type of search result (product, category, and so on), including a link to the corresponding product or category page.

As released, these routines do not format the results using the HTML TABLE element, though it is possible to change these routines to do so.

Previous  Next


Microsoft Corporation - Microsoft. Net Server Solutions for the Enterprise
Microsoft .NET Server Solutions for the Enterprise
ISBN: 0735615691
EAN: 2147483647
Year: 2002
Pages: 483

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net