asp net hand code practice 2

Requirement

Load data from company table as a menu and filter products by company

Implement

I. General

In the practice, I will introduce a method to load data from company table as a menu and allow user filter products by company. Through the practice, you will be introduced a method send available without form, that is link.

II. Implement

1. Load data and output as menu

We will extend class connect to database built in practice 1, we just build a function to load companies and show on web page as a menu

asp code show menu

2. Filter products by company

asp filter products

3. Video for more details



4. Results

asp result filter products

Have fun and good luck.