6.7. Editable List Controls: DataList and DataGrid

The most complex controls in System.Web.UI.WebControls are those that derive from System.Web.UI.WebControls.BaseDataList. This includes DataGrid and DataList. Both render rows and columns, and, although DataList is, for the most part, a simplified version of DataGrid, each has unique features. Each controls its appearance through a set of templates and styles. Each uses complex data binding, based on lists and in-place editing. More than one template can be databound in a single control. Each implements its in-place editing by a series of events and delegates. Each control contains a DataSource and a DataMember property as well as a DataKeyField and a DataKeys property that lets you retrieve ...

Get Essential ADO.NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.