Book Excerpt: ASP.NET Data Presentation Controls Essentials

s you design and implement ASP.NET web applications, you will need to fully master the techniques for displaying data to users. This need led Microsoft to develop the many different data presentation controls that ship with ASP.NET. These controls are data-bindable server controls that help you organize data and display it in useful ways. This book covers the most important data presentation controls in ASP.NET (from ASP. NET 1.x to ASP.NET 3.5/Orcas). Packed with plenty of real-life code examples, tips, and notes, it’s an excellent resource for readers who want to fully leverage the awesome features these controls provide for displaying and managing complex data in ASP.NET web applications.

Book Chapter Descriptions
Each chapter covers one or more specific controls or features, shows and explains how to perform the tasks, and provides source code you can use immediately in your own applications.

  • Chapter 1 discusses the ASP.NET databinding model and working with the data source controls in ASP.NET.
  • Chapter 2 explains the various list controls, and shows how to build a custom control that extends CheckBoxList to provide added functionalities.
  • Chapter 3 shows how to display tables of data with the Repeater control and discusses related operations, such as paging and sorting data.
  • Chapter 4 explains how to use the DataList control and illustrates how to bind images to it dynamically.
  • Chapter 5 covers customized DataGrid displays and how to set up DataGrids to edit, delete, and format data. It shows how to page and sort data and display customized formats.
  • Chapter 6 presents the GridView control and its operations, such as paging, sorting, inserting data, updating data, deleting data, and displaying data in custom formats. It also discusses how to implement a custom GridView control to display hierarchical data, and how to export a GridView control to MS Excel and MS Word.
  • Chapter 7, the sample chapter published here, explores the remaining ASP.NET view controls, including the DetailsView, FormView, and TreeView controls, using examples that show how to use them to perform various common operations, such as buildilng drill-down forms.
  • Chapter 8 discusses LINQ’s features and benefits, and shows how to use it to bind data to the new Orcas data controls.

Download the PDF of Chapter 7: Displaying Views of Data (Part II) to explore the DetailsView, FormView, and TreeView controls.

Reproduced from ASP.NET Data Presentation Controls Essentials by permission of Packt Publishing. ISBN 1847193951, copyright 2007. All rights reserved.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

homes in the real estate industry

Exploring the Latest Tech Trends Impacting the Real Estate Industry

The real estate industry is changing thanks to the newest technological advancements. These new developments — from blockchain and AI to virtual reality and 3D printing — are poised to change how we buy and sell homes. Real estate brokers, buyers, sellers, wholesale real estate professionals, fix and flippers, and beyond may

man on floor with data

DevX Quick Guide to Data Ingestion

One of the biggest trends of the 21st century is the massive surge in internet usage. With major innovations such as smart technology, social media, and online shopping sites, the internet has become an essential part of everyday life for a large portion of the population. Due to this internet

payment via phone

7 Ways Technology Has Changed Traditional Payments

In today’s digital world, technology has changed how we make payments. From contactless cards to mobile wallets, it’s now easier to pay for goods and services without carrying cash or using a checkbook. This article will look at seven of the most significant ways technology has transformed traditional payment methods.