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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.