asp.net.ph

Skip Navigation Links

GridView Web Server Control

Web Forms Server Controls   Controls You Can Use on Web Forms   ASP.NET Data Controls


GridView displays values of a data source into a table, and allows users to select, sort, page, and update the data.

The following topics provide information that you will find useful in learning to work with the GridView control.

In This Section


Content
Introduction to the GridView Control
A brief overview of the GridView control’s features, and what you can do with it.
Adding a GridView Control to a Web Forms Page
Gives directions for adding a GridView control to a Web Forms page and setting the required properties.
Adding Bound Fields to a GridView Control
Specifying which columns are displayed in the GridView control.
Adding Button Fields to a GridView Control
Adding buttons to individual rows in the GridView that invoke custom functionality.
Adding Hyperlink Fields to a GridView Control
Creating a column in the GridView that displays data as hyperlinks to other pages.
Adding Template Fields to a GridView Control
Creating custom-defined columns in the GridView with a combination of HTML, text and controls.
Adding Sorting to a GridView Control
Allowing users to specify the sorting order of the GridView content.
Specifying Paging Behavior in a GridView Control
Adding paging functionality to the GridView control.
Specifying Row Format in a GridView Control
Dynamically controlling the contents and appearance of GridView rows.
Allowing Users to Select Rows in a GridView Control
Providing functionality wherein users can click to highlight a GridView row.
Allowing Users to Edit Rows in a GridView Control
Providing functionality wherein users can modify a record using a GridView.
Allowing Users to Delete Rows in a GridView Control
Providing functionality wherein users can remove a record using a GridView.
Responding to Control Events in GridView Rows
Responding to events that are raised by controls in a GridView row.

Related Sections


Content
Comparing the GridView and DataGrid Controls
Looks at the similarities and differences between a GridView and a GridView.
Programming Web Forms
Suggests additional topics on working with Web Forms in code.

See Also

GridView Class   GridView Control Syntax



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note