Home > Articles > Programming > Windows Programming

Creating Data-Enabled Web Pages using the DataList

  • Print
  • + Share This
Paul Kimmel shows how to describe a web page with a DataList control, fill out the templates to support rendering the page in browse and edit mode, and write the code that supports the page programmatically.
This article is adapted from Paul Kimmel's book Visual Basic .NET Unleashed (Sams, 2002, ISBN 0-672-32234-X).
From the author of

Introduction

ASP.NET provides a complement of server controls that make it easier to create advanced web applications. Three web controls that fall into this category are the Repeater, DataGrid, and DataList.

This article demonstrates the fundamentals you need to know to describe the DataList, connect data to it, and support managing that data. Most of the code and techniques demonstrated can also be applied to the Repeater and DataGrid controls. When you've finished reading this article you'll know how to implement a suitable data source, describe a DataList control, bind data to the list, edit the data, and use the Session cache.

  • + Share This
  • 🔖 Save To Your Account