Murach's ASP.NET Web Programming with VB.NET

This chapter teaches you how to develop a multi-page web application. In the process, you’ll learn how to use validation controls, drop-down lists, list boxes, and session state.

Chapter 3 How to develop a multi-page web application
Two pages of a multi-page web application 84
The Order page 84
The Shopping Cart page 86
Five new skills for multi-page web applications 88
How to add a web form to a project 88
How to rename a web form 90
How to change the starting page for a multi-page web application 90
How to display another web page in the browser 92
How to code absolute and relative URLs 94
How to use drop-down lists and list boxes 96
How to add list items 96
How to remove list items 96
How to work with drop-down lists and list boxes in code 98
When to use view state 98
How to add validation controls to a form 100
An introduction to the validation controls 100
How to use the required field validator 102
How to use the compare validator 102
How to use session state 104
How session state works 104
How to work with data in session state 106
The Visual Basic code for the Halloween Store application 108
The code for the Order form 108
The code for the Shopping Cart form 112
The code for the Product, ProductIO, and CartItem classes 114
t




Murach's ASP.NET Web Programming with VB.NET

Learn more about this book

Add this book to your cart