Murach's ASP.NET 2.0 Upgrader's Guide: VB Edition
How to create an ASP.NET 2.0 application
in Visual Studio 2005

This chapter helps you get started with Visual Studio 2005 and ASP.NET 2.0 by showing you how to develop a shopping cart application. This gives you hands-on experience with ASP.NET 2.0 features like the new code-behind model, data sources, and cross-page posting.

Chapter 2 How to create an ASP.NET 2.0 application in Visual Studio 2005
The Shopping Cart application 30
The Order page 30
The Cart page 32
The files and folders used by the Shopping Cart application 34
How to work with ASP.NET 2.0 web sites 36
How to create a new ASP.NET 2.0 web site 36
How to add items to a web site 38
How to design an ASP.NET 2.0 web page 40
The HTML code for a new web page 40
How to work in Source view 42
How to work in Design view 44
How to create and use data sources 46
How to create an Access data source 46
How to configure an Access data source 48
How to bind a drop-down list to a data source 50
How to add code to an ASP.NET 2.0 page 52
How to use the Code Editor 52
How to use code snippets 54
Two new ASP.NET 2.0 programming techniques 56
How to use cross-page posting 56
How to use Visual Basic code to get data from a data source 58
The code for the Shopping Cart application 60
The code for the Product and CartItem classes 60
The aspx code for the Order page 60
The Visual Basic code for the Order page 64
The aspx code for the Cart page 68
The Visual Basic code for the Cart page 68
How to run an ASP.NET 2.0 application 72
How to use the development server 72
How to run a file-system web site with IIS 72




Murach's ASP.NET 2.0 Upgrader's Guide: VB Edition

Learn more about this book

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.