Developing the Product Selection Page
When a user clicks a category name on the category menu, she is taken to the product selection page. This page lists all products in the specified category. The product selection page is constructed similarly to the category menu user control. That is, it is made up of a user interface piece, a code behind class, and the strongly typed dataset named CatalogDS.cs.
To better understand how this functionality was achieved, we'll start with CatalogDS. After we describe the CatalogDS functionality, we can discuss the code behind and user interface.
CatalogDS
The main functionality, for product selection, provided by CatalogDS is the FindByCategoryID method. This method takes a category ID as a parameter and returns ...
Get Building e-Commerce Sites with the .NET Framework now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.