© 2016, Mike Murach & Associates, Inc. Chapter 4 © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. Objectives © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. Objectives (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. The Order page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. The Cart page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Solution Explorer for the Shopping Cart application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Folders in the Shopping Cart application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Files in the Shopping Cart application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Files in the Shopping Cart application (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. The menu for changing the starting page, renaming files, and deleting files © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
How to change the starting page for a web application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
How to delete a file from the web application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The dialog box for adding a new class to the Models folder © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Transfer method of the HttpServerUtility class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Code that transfers control to another page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The PostBackUrl property of the Button control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for a button that posts to a different page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Code that sets a property in the previous page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Statements that use absolute URLs © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. Server control properties with URLs based on the root directory of the current web application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Page 1 of the Configure Data Source wizard © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Page 2 of the Configure Data Source wizard © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for a SQL data source control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Data Source Configuration Wizard dialog box © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for a drop-down list that’s bound to a data source © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Properties for binding a drop-down list © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Select method of the SqlDataSource class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Code that gets product information for the selected product © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
How ASP.NET maintains the state of a session © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Typical uses for session state © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Common properties of the HttpSessionState class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A statement that adds or updates a session state item © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. An example that gets the value of a session state item from a non-page class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Properties of the Product class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Constructors of the CartItem class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Constructor of the CartItemList class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code for the Product class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code for the CartItem class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code for the CartItem class (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code for the CartItemList class © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code for the CartItemList class (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code for the CartItemList class (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx file for the Order page (Order.aspx) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx file for the Order page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx file for the Order page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx file for the Order page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx file for the Order page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx file for the Order page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code-behind file for the Order page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code-behind file for the Order page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code-behind file for the Order page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Some of the aspx file for the Cart page (Cart.aspx) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Some of the aspx file for the Cart page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Some of the aspx file for the Cart page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code-behind file for the Cart page © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code-behind file for the Cart page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code-behind file for the Cart page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The code-behind file for the Cart page (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The CSS file for the Shopping Cart application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The CSS file for the application (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Extra 4-1 Enhance the Quotation application (Default.aspx) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Extra 4-1 Enhance the Quotation application (Confirm.aspx) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015