htmRenderProductsTable - Solution Sites Routine

This function renders a Recordset object containing products in a table format. The table has the following four columns: identifying property (for example SKU), name, description, and price. If the identifying property and name are the same, only three columns are shown.

Definition

Function htmRenderProductsTable(
  byVal oCatalog,
  byVal rsProducts,
  byVal sCategoryName)

Parameters

  • oCatalog
    A reference to a ProductCatalog object.
  • rsProducts
    A reference to a Recordset object containing products to be represented in HTML, passed through to the function rsPriceAndCurrency.
  • sCategoryName
    A string containing the name of a category, passed through to RenderProductLink.

Return Value

A string containing the HTML representation of the products in a table format.

Defined in File

include\catalog.asp

Routines Called

GetPriceAndCurrency

RenderProductLink

RenderTable

RenderTableDataRow

RenderTableHeaderRow

Called By

htmRenderCategoryPage

Copyright © 2005 Microsoft Corporation.
All rights reserved.