Murach's ASP.NET 2.0 Upgrader's Guide: C# 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 events are wired in ASP.NET 2.0 54
How to use code snippets 56
Two new ASP.NET 2.0 programming techniques 58
How to use cross-page posting 58
How to use C# code to get data from a data source 60
The code for the Shopping Cart application 62
The code for the Product and CartItem classes 62
The aspx code for the Order page 62
The C# code for the Order page 66
The aspx code for the Cart page 70
The C# code for the Cart page 70
How to run an ASP.NET 2.0 application 74
How to use the development server 74
How to run a file-system web site with IIS 74




Murach's ASP.NET 2.0 Upgrader's Guide: C# 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.