Download presentation
Presentation is loading. Please wait.
1
© 2016, Mike Murach & Associates, Inc.
Chapter 14 © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
2
© 2016, Mike Murach & Associates, Inc.
Objectives © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
3
© 2016, Mike Murach & Associates, Inc.
Objectives (cont.) © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
4
A GridView control that provides for updating a table
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
5
The aspx code for the GridView control
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
6
The aspx code for the GridView control (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
7
Basic properties of the GridView control
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
8
© 2016, Mike Murach & Associates, Inc.
The Fields dialog box © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
9
Commonly used field properties
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
10
© 2016, Mike Murach & Associates, Inc.
Column field elements © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
11
© 2016, Mike Murach & Associates, Inc.
Style elements © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
12
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
13
A GridView control that uses Bootstrap CSS classes for styling
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
14
The aspx code for the control
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
15
The PreRender event handler for the GridView control
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
16
A GridView control with sorting enabled
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
17
The aspx code for the GridView control with sorting
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
18
The aspx code for the GridView control with sorting (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
19
A GridView control with paging enabled
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
20
The aspx code for the GridView control with paging
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
21
The aspx code for the GridView control with paging (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
22
Properties of the GridView control that affect paging
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
23
Properties of the PagerSettings element
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
24
A PagerSettings element
The resulting pager area © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
25
The Product List application
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
26
The body of the Default.aspx file
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
27
The body of the Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
28
The body of the Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
29
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
30
The Fields dialog box for working with a command field
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
31
Properties of the CommandField element
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
32
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
33
Code that defines two command fields
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
34
Events raised by the GridView control
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
35
An event handler for the RowUpdated event
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
36
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
37
Code that uses a SqlDataSource control to insert a row
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
38
The Category Maintenance application
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
39
The body of the Default.aspx file
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
40
The body of the Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
41
The body of the Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
42
The body of the Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
43
The body of the Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
44
The body of the Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
45
The body of the Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
46
The Default.aspx.cs file
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
47
The Default.aspx.cs file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
48
The Default.aspx.cs file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
49
The Default.aspx.cs file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
50
© 2016, Mike Murach & Associates, Inc.
How to edit templates © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
51
GridView template elements
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
52
A template field that includes a validation control
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
53
The Category Maintenance application with template fields
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
54
© 2016, Mike Murach & Associates, Inc.
The Default.aspx file © 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
55
The Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
56
The Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
57
The Default.aspx file (cont.)
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
58
Extra 14-1 Create a Product Receipt application
© 2016, Mike Murach & Associates, Inc. Murach's ASP.NET 4.6 with C# 2015
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.