The DataList Control

The properties of the DataList control are shown in Table E.32.The events are shown in Table E.33.

Table E.32. Properties of the DataList Control
Property Description
AlternatingItemStyle Gets the style properties for alternating items in the DataList control.
AlternatingItemTemplate Gets or sets the template for alternating items in the DataList.
CancelCommandName Represents the Cancel command.
DeleteCommandName Represents the Delete Command.
EditCommandName Represents the Edit command.
EditItemIndex Gets or sets the index number of the selected item in the DataList control to edit.
EditItemStyle Gets the style properties for the item selected for editing in the DataList control.
EditItemTemplate Gets or sets the template ...

Get Inside ASP.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.