© 2016, Mike Murach & Associates, Inc. Chapter 14 © 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
A GridView control that provides for updating a table © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for the GridView control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for the GridView control (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Basic properties of the GridView control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. The Fields dialog box © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Commonly used field properties © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. Column field elements © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. Style elements © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for a control that uses field and style elements © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A GridView control that uses Bootstrap CSS classes for styling © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for the control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The PreRender event handler for the GridView control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A GridView control with sorting enabled © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for the GridView control with sorting © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for the GridView control with sorting (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A GridView control with paging enabled © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for the GridView control with paging © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The aspx code for the GridView control with paging (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Properties of the GridView control that affect paging © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Properties of the PagerSettings element © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A PagerSettings element The resulting pager area © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Product List application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The body of the Default.aspx file © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The body of the Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The body of the Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The event handler for the Prerender event of the GridView control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Fields dialog box for working with a command field © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Properties of the CommandField element © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Properties that show buttons and set the text or images they display © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Code that defines two command fields © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Events raised by the GridView control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
An event handler for the RowUpdated event © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Method of the SqlDataSource class for inserting rows Properties of the SqlDataSource class for inserting rows Property of the Parameter class for inserting rows © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Code that uses a SqlDataSource control to insert a row © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Category Maintenance application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The body of the Default.aspx file © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The body of the Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The body of the Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The body of the Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The body of the Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The body of the Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The body of the Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Default.aspx.cs file © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Default.aspx.cs file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Default.aspx.cs file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Default.aspx.cs file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. How to edit templates © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
GridView template elements © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
A template field that includes a validation control © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Category Maintenance application with template fields © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
© 2016, Mike Murach & Associates, Inc. The Default.aspx file © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
The Default.aspx file (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Extra 14-1 Create a Product Receipt application © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015