Applying It

Try to complete the following exercises by yourself.

Independent Exercise 1

Modify the user control example and add an icon (image control) to each menu item (in the DataList).

Independent Exercise 2

Based on the example in the section “Data Access Using Data Bound Controls” earlier in this chapter, write a Web application with two pages. The first page allows the user to select a product category (from the Categories table in the Northwind database). When the selection is made, the second page should be displayed, showing a list of all products in that category. HINT: The CategoryID column in the Products table should be used as a ...

Get Visual Basic® .NET by Example 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.