Book Excerpt: ASP.NET Data Presentation Controls Essentials

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:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several