Murach's ASP.NET 2.0 with VB 2005
How to develop a multi-page web application

This chapter shows you how to develop a simple multi-page web application. This application involves skills like transferring control to another web page, using a data source to handle database data, and managing session state to keep track of each user session.

Chapter 3 How to develop a multi-page web application
The Shopping Cart application 70
The Order page 70
The Cart page 72
The files and folders used by the Shopping Cart application 74
How to add a class to a web site 76
Six skills for working with multiple web forms 78
How to add a web form to a web site 78
How to rename a web form 80
How to change the starting web form 80
How to redirect or transfer to another page 82
How to use cross-page posting 84
How to code absolute and relative URLs 86
How to create and use data sources 88
How to create an Access data source 88
How to configure an Access data source 90
How to bind a drop-down list to a data source 92
How to use Visual Basic code to get data from a data source 94
How to use session state 96
How session state works 96
How to work with data in session state 98
The code for the Shopping Cart application 100
The code for the Product and CartItem classes 100
The aspx code for the Order page 100
The Visual Basic code for the Order page 104
The aspx code for the Cart page 108
The Visual Basic code for the Cart page 108




Murach's ASP.NET 2.0 with VB 2005

Learn more about this book

View the table of contents

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.