Using the ListView Control for Data Display and Manipulation: A Comprehensive Guide, Slides of Computer Programming

An overview of the listview control, its features, data binding, configuration, templates, and events. It explains how the listview operates, its similarities and differences with the gridview, and how to use it to display and manipulate data. It also covers the mechanics of using the listview, including templates and events.

Typology: Slides

2012/2013

Uploaded on 09/27/2013

vikrant
vikrant 🇮🇳

4.4

(9)

119 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Using the The ListView
Control to work with
Data
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Using the ListView Control for Data Display and Manipulation: A Comprehensive Guide and more Slides Computer Programming in PDF only on Docsity!

Using the The ListView

Control to work with

Data

The ListView Control

(Overview)

 Like the GridView control  It supports paging  It supports record update and delete functions  It can display data in a tabular form  Unlike the GridView control  It supports record insert functions  It has no ‘predefined’ layout  It can display data in other ways too

Configuring the ListView

 Of course, everything can be done programmatically  The Configure ListView tool applies various styles to make life easier or to get you started  The layout controls how the records appear  The style defines various visual styles

Templates (Introduction)

 The ListView operates using a list of predefined templates similar to the GridView  However, these templates do not perform any formatting  Rows are rendered based on templates

Templates (2)

 There are other templates for grouping (tiled layout)

Events

 These are similar to the GridViewItemInserting / ItemInsertedItemDeleting / ItemDeletedItemCommand fires when a command executes  ItemCreated fires when a row is created

The Mechanics (2)